diff --git a/polymer/eduke32/Android.mk b/polymer/eduke32/Android.mk index 48baeb119..e268c53a8 100644 --- a/polymer/eduke32/Android.mk +++ b/polymer/eduke32/Android.mk @@ -23,7 +23,7 @@ LOCAL_MODULE := duke # -O2 -fvisibility=hidden -LOCAL_CFLAGS := -fvisibility=hidden -fPIC -Wimplicit -Wdeclaration-after-statement -O2 -funswitch-loops -fomit-frame-pointer -DNDEBUG -DUSING_LTO -flto -fno-stack-protector -W -Werror-implicit-function-declaration -Wpointer-arith -Wextra -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result -Wno-char-subscripts -pthread -DHAVE_INTTYPES -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wno-strict-overflow -DUSE_OPENGL -Wno-attributes +LOCAL_CFLAGS := -fvisibility=hidden -fPIC -Wimplicit -Wdeclaration-after-statement -O2 -funswitch-loops -fomit-frame-pointer -DNDEBUG -DUSING_LTO -flto -fno-stack-protector -W -Werror-implicit-function-declaration -Wpointer-arith -Wextra -funsigned-char -fno-strict-aliasing -D_FORTIFY_SOURCE=0 -fjump-tables -Wno-unused-result -Wno-char-subscripts -pthread -DHAVE_INTTYPES -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wno-strict-overflow -DUSE_OPENGL -Wno-attributes #-DUSE_LIBPNG diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index a7bdfe78e..e239e9a4c 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -518,7 +518,7 @@ endif COMMONFLAGS+= -funsigned-char -fno-strict-aliasing $(F_JUMP_TABLES) -COMPILERFLAGS+= $(CWARNS) $(W_NO_UNUSED_RESULT) -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 +COMPILERFLAGS+= $(CWARNS) $(W_NO_UNUSED_RESULT) -D_FORTIFY_SOURCE=0 ifeq (0,$(NETCODE)) COMPILERFLAGS+= -DNETCODE_DISABLE