summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoraristocratos <gnmjpl@gmail.com>2024-01-11 10:39:39 +0100
committeraristocratos <gnmjpl@gmail.com>2024-01-11 10:39:39 +0100
commite936339038dc77ded0b51ab3f3b1341808a85e4e (patch)
tree2cc0173d9f251d4d572004e82b0f6c0b8d054538 /Makefile
parentc649369efb07fa5c267ff19019d9a107e7262542 (diff)
Undefine FORTIFY_SOURCE before setting new value when enabled
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36153a3..ed80899 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ endif
FORTIFY_SOURCE ?= true
ifeq ($(FORTIFY_SOURCE),true)
- override ADDFLAGS += -D_FORTIFY_SOURCE=3
+ override ADDFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
endif
#? Compiler and Linker