diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:23 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:23 +0000 |
commit | 13bd344c018259a05375836914b011cbff12add0 (patch) | |
tree | 330f989ee932cac283d65a8b04a7d6517d5c6038 | |
parent | f5aa016d77fbff5d856f0c495118a3b57b0ad2f9 (diff) | |
download | s6-linux-init-13bd344c018259a05375836914b011cbff12add0.tar.xz |
noexecstack only works in LDFLAGS
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -360,7 +360,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 @@ -371,6 +370,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}" |