From 061b5799cc1feb15014da589ea98057deda14a23 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Wed, 7 Nov 2012 21:13:14 +0100 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b7a8161..835ede0d 100644 --- a/Makefile +++ b/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