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:
parent
891dfcdf3f
commit
061b5799cc
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue