summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-08 12:34:42 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-08 12:34:42 +0000
commit1befaa45e800e2ab29949a0f429f6d768686ed98 (patch)
treed72ebabf7b2491ce7d53b9620fb10bbbd46771c9
parenta50a007ad6c6a9f4c0912b923d7497ec23129535 (diff)
downloadskabus-1befaa45e800e2ab29949a0f429f6d768686ed98.tar.xz
noexecstack only works in LDFLAGS
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 3b9776b..fdede78 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}"