aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2012-11-07 21:13:14 +0100
committerThomas Preud'homme <robotux@celest.fr>2012-11-07 21:15:07 +0100
commit061b5799cc1feb15014da589ea98057deda14a23 (patch)
tree8b0cc4f6db88b78f6c77c566ebe70863918c3f5a
parent891dfcdf3fc441a1863c43d179dc6e0e4d65836f (diff)
downloadtinycc-061b5799cc1feb15014da589ea98057deda14a23.tar.gz
tinycc-061b5799cc1feb15014da589ea98057deda14a23.tar.bz2
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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6b7a816..835ede0 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