You copied the Doc URL to your clipboard.

--muldefweak, --no_muldefweak

Enables or disables multiple weak definitions of a symbol.

Usage

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.

Default

The default is --no_muldefweak.

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

Related reference

Was this page helpful? Yes No