diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:19 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:19 +0000 |
commit | 76c599c1b50ae9bee90d62099b8815ed6c3b2759 (patch) | |
tree | faa9ff9a1892e31571931b83a5bb92959ca47cdb | |
parent | 137f093d2d4964d253d740cbc101f53ba3a6fd99 (diff) | |
download | s6-linux-utils-76c599c1b50ae9bee90d62099b8815ed6c3b2759.tar.gz s6-linux-utils-76c599c1b50ae9bee90d62099b8815ed6c3b2759.tar.xz s6-linux-utils-76c599c1b50ae9bee90d62099b8815ed6c3b2759.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 93fba60..3fb5aa5 100755 --- a/configure +++ b/configure @@ -337,7 +337,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 @@ -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}" |