Added linker flags to ban undefined extern functions.
This commit is contained in:
parent
94dfb3bb75
commit
c46627f8e1
|
@ -29,7 +29,10 @@ baseCFILES = \
|
||||||
baseMFILES = $(osMFILES)
|
baseMFILES = $(osMFILES)
|
||||||
|
|
||||||
baseCFLAGS = $(osCFLAGS)
|
baseCFLAGS = $(osCFLAGS)
|
||||||
baseLDFLAGS = -shared $(osLDFLAGS)
|
baseLDFLAGS = \
|
||||||
|
-shared \
|
||||||
|
-Wl,--no-undefined -Wl,--no-allow-shlib-undefined \
|
||||||
|
$(osLDFLAGS)
|
||||||
baseSUFFIX = $(osLIBSUFFIX)
|
baseSUFFIX = $(osLIBSUFFIX)
|
||||||
|
|
||||||
include GNUbase.mk
|
include GNUbase.mk
|
||||||
|
|
Loading…
Reference in New Issue