Description: Allow distro build flags to define _FORTIFY_SOURCE
Author: Nick Rosbrook <enr0n@ubuntu.com>
Bug-Debian: https://bugs.debian.org/1080967
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2079767
Forwarded: not-needed
Last-Update: 2024-09-05
Index: detox/src/Makefile.am
===================================================================
--- detox.orig/src/Makefile.am
+++ detox/src/Makefile.am
@@ -11,7 +11,6 @@ AM_CFLAGS = \
 	-DSYSCONFDIR=\"$(sysconfdir)\" \
 	-DYY_NO_INPUT \
 	-DYY_NO_UNPUT \
-	-D_FORTIFY_SOURCE=2 \
 	-Wall \
 	-Werror
 
Index: detox/tests/unit/Makefile.am
===================================================================
--- detox.orig/tests/unit/Makefile.am
+++ detox/tests/unit/Makefile.am
@@ -7,7 +7,6 @@ AM_CFLAGS = \
 	@CHECK_CFLAGS@ \
 	-DYY_NO_INPUT \
 	-DYY_NO_UNPUT \
-	-D_FORTIFY_SOURCE=2 \
 	-Wall \
 	-Werror
 
