Added linker flags to ban undefined extern functions.

This commit is contained in:
Pietro Gagliardi 2015-04-22 18:24:16 -04:00
parent 94dfb3bb75
commit c46627f8e1
1 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,10 @@ baseCFILES = \
baseMFILES = $(osMFILES)
baseCFLAGS = $(osCFLAGS)
baseLDFLAGS = -shared $(osLDFLAGS)
baseLDFLAGS = \
-shared \
-Wl,--no-undefined -Wl,--no-allow-shlib-undefined \
$(osLDFLAGS)
baseSUFFIX = $(osLIBSUFFIX)
include GNUbase.mk