diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:32:32 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:32:32 +0000 |
commit | e33f23bb4e95f9fbc9768f65900c6bebd122e16b (patch) | |
tree | 5fbacb31b357fbcc95990358333611870dd86452 | |
parent | b4c668f3e138733548dfd36b3bcbd8dbbd143985 (diff) | |
download | s6-rc-e33f23bb4e95f9fbc9768f65900c6bebd122e16b.tar.xz |
noexecstack only works in LDFLAGS
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,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 CFLAGS -fno-stack-protector tryflag CPPFLAGS_AUTO -Werror=implicit-function-declaration tryflag CPPFLAGS_AUTO -Werror=implicit-int @@ -347,6 +346,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}" |