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:
2
Makefile
2
Makefile
@ -13,7 +13,7 @@ LDFLAGS_P=$(LDFLAGS)
|
|||||||
ifneq ($(GCC_MAJOR),2)
|
ifneq ($(GCC_MAJOR),2)
|
||||||
CFLAGS+=-fno-strict-aliasing
|
CFLAGS+=-fno-strict-aliasing
|
||||||
ifneq ($(GCC_MAJOR),3)
|
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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user