diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:46 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:46 +0000 |
commit | 7f28a8187e5d4f168825ebca4f8a0c21ee82567e (patch) | |
tree | c2ea3c106173c3ad263b3e192652ae2fdd04a26b | |
parent | dbbc90d67656c164c9f280d9a4419e0f1fe1edd8 (diff) | |
download | pamela-7f28a8187e5d4f168825ebca4f8a0c21ee82567e.tar.gz pamela-7f28a8187e5d4f168825ebca4f8a0c21ee82567e.tar.xz pamela-7f28a8187e5d4f168825ebca4f8a0c21ee82567e.zip |
noexecstack only works in LDFLAGS
-rwxr-xr-x | configure | 2 |
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}" |