--[no-]allow-shlib-undefined is a linker option. In order to pass it to ld, you may use either of the following icc options.
pass options o1, o2, etc. to the linker for processing
For example, you may do
Please note that icc will pass everything after -Xlinker to ld, which is different from -Wl.