2023-01-27 17:24:45 +00:00
|
|
|
diff --git a/bin/named/Makefile.am b/bin/named/Makefile.am
|
2022-09-14 18:51:22 +00:00
|
|
|
index 57a023b..085f2f7 100644
|
2023-01-27 17:24:45 +00:00
|
|
|
--- a/bin/named/Makefile.am
|
|
|
|
+++ b/bin/named/Makefile.am
|
2022-09-14 18:51:22 +00:00
|
|
|
@@ -32,9 +32,12 @@ AM_CPPFLAGS += \
|
2023-01-27 17:24:45 +00:00
|
|
|
endif HAVE_LIBXML2
|
|
|
|
|
|
|
|
AM_CPPFLAGS += \
|
|
|
|
+ -fpie \
|
|
|
|
-DNAMED_LOCALSTATEDIR=\"${localstatedir}\" \
|
|
|
|
-DNAMED_SYSCONFDIR=\"${sysconfdir}\"
|
|
|
|
|
|
|
|
+AM_LDFLAGS += -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack
|
|
|
|
+
|
2022-09-14 18:51:22 +00:00
|
|
|
sbin_PROGRAMS = named
|
|
|
|
|
|
|
|
nodist_named_SOURCES = xsl.c
|