1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Add more flags to improve GCC hardening
Forwarded: not-needed
Author: Giovani Augusto Ferreira <giovani@debian.org>
Last-Update: 2025-02-26
---
Makefile.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index c698652..f634738 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,5 +1,6 @@
CC = @CC@
-CFLAGS = @CFLAGS@
+CFLAGS = -fPIE @CFLAGS@
+LDFLAGS = -pie @LDFLAGS@
LIBS = @STATIC_LIBS@ @LIBS@
INSTALL=@INSTALL@
prefix=@prefix@
|