Allow source fortification

Source fortification now works correctly : it compiles without warning
except unused result and the resulting tcc is working fine. Hence let's
stop disabling source fortification and hide unused result instead.
This commit is contained in:
Thomas Preud'homme 2012-11-07 21:13:14 +01:00
parent 891dfcdf3f
commit 061b5799cc

View File

@ -13,7 +13,7 @@ LDFLAGS_P=$(LDFLAGS)
ifneq ($(GCC_MAJOR),2)
CFLAGS+=-fno-strict-aliasing
ifneq ($(GCC_MAJOR),3)
CFLAGS+=-Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0
CFLAGS+=-Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
endif
endif