You copied the Doc URL to your clipboard.

--muldefweak, --no_muldefweak

This option enables or disables multiple weak definitions of a symbol.

If enabled, the linker chooses the first definition that it encounters and discards all the other duplicate definitions. If disabled, the linker generates an error message for all multiply defined weak symbols.


The default is --no_muldefweak.

When --arm_linux is used, --muldefweak is the default.

See also

Was this page helpful? Yes No