1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: "Michael R. Crusoe" <crusoe@debian.org>
Date: Thu, 27 Feb 2025 11:00:54 +0100
Subject: newer GCC support
---
ext/safestringlib/makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/safestringlib/makefile b/ext/safestringlib/makefile
index 23ad139..1993818 100644
--- a/ext/safestringlib/makefile
+++ b/ext/safestringlib/makefile
@@ -1,7 +1,7 @@
IDIR = include
MKDIR_P = mkdir -p
CC=gcc
-CFLAGS+=-I$(IDIR) -fstack-protector-strong -fPIE -fPIC -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
+CFLAGS+=-I$(IDIR) -fstack-protector-strong -fPIE -fPIC -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -DSTDC_HEADERS
LDFLAGS+=-z noexecstack -z relo -z now
ODIR=obj
|