From a2803fb6353b807580c3c4b1b80bb8652b5df6a9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 8 Apr 2021 12:34:14 +0000 Subject: noexecstack only works in LDFLAGS --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 1e8a05f..8915000 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}" -- cgit 1.4.1