From 4abc47af9e0723f525bd2c2fc6e09c79d73d17fb Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 22 Nov 2014 12:33:57 +0000 Subject: [PATCH] Fix _FORTIFY_SOURCE redefinition warning on Ubuntu's patched versions of GCC. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4750 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index 18b9e5dca..73ba7ab47 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -521,7 +521,7 @@ endif COMMONFLAGS+= -funsigned-char -fno-strict-aliasing $(F_JUMP_TABLES) -COMPILERFLAGS+= $(CWARNS) $(W_NO_UNUSED_RESULT) -D_FORTIFY_SOURCE=0 +COMPILERFLAGS+= $(CWARNS) $(W_NO_UNUSED_RESULT) -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 ifeq (0,$(NETCODE)) COMPILERFLAGS+= -DNETCODE_DISABLE