diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:14 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:14 +0000 |
commit | a2803fb6353b807580c3c4b1b80bb8652b5df6a9 (patch) | |
tree | e7705f0639a46ee565ac9a85475edc92474be7ea | |
parent | 8a3b18c61d42d822cc25c74d5c04c53c7b053643 (diff) | |
download | s6-portable-utils-a2803fb6353b807580c3c4b1b80bb8652b5df6a9.tar.xz |
noexecstack only works in LDFLAGS
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}" |