summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-08 12:34:46 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-08 12:34:46 +0000
commit7f28a8187e5d4f168825ebca4f8a0c21ee82567e (patch)
treec2ea3c106173c3ad263b3e192652ae2fdd04a26b /configure
parentdbbc90d67656c164c9f280d9a4419e0f1fe1edd8 (diff)
downloadpamela-7f28a8187e5d4f168825ebca4f8a0c21ee82567e.tar.xz
noexecstack only works in LDFLAGS
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a9ce616..92ca02c 100755
--- a/configure
+++ b/configure
@@ -333,7 +333,6 @@ tryflag CFLAGS -fomit-frame-pointer
tryflag CFLAGS_AUTO -fno-exceptions
tryflag CFLAGS_AUTO -fno-unwind-tables
tryflag CFLAGS_AUTO -fno-asynchronous-unwind-tables
-tryflag CFLAGS_AUTO -Wa,--noexecstack
tryflag CPPFLAGS_AUTO -Werror=implicit-function-declaration
tryflag CPPFLAGS_AUTO -Werror=implicit-int
tryflag CPPFLAGS_AUTO -Werror=pointer-sign
@@ -343,6 +342,7 @@ tryflag CFLAGS_AUTO -fdata-sections
tryldflag LDFLAGS_AUTO -Wl,--sort-section=alignment
tryldflag LDFLAGS_AUTO -Wl,--sort-common
+tryldflag LDFLAGS_AUTO -Wl,-z,noexecstack
CPPFLAGS_AUTO="${CPPFLAGS_AUTO}${addincpath}"