aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2025-03-07 07:52:11 +0100
committerFlorian Weimer <fweimer@redhat.com>2025-03-07 08:07:26 +0100
commit59dc232df277c21239c357e3519682c26e182cd7 (patch)
treebbb43ec8684b9b04fa6c50908d431d3cd56a485c /configure.ac
parent5b309075456e07b6231db331092a1f307cb7664b (diff)
downloadglibc-59dc232df277c21239c357e3519682c26e182cd7.tar.xz
glibc-59dc232df277c21239c357e3519682c26e182cd7.zip
configure: Fix spelling of -Wl,--no-error-execstack option
BFD ld recognizes all -no-* options (with a single leading dash) unconditionally. Fixes commit a2bd5008a99032830add3e4005c25b61e3207112 ("Pass -Wl,--no-error-execstack for tests where -Wl,-z,execstack is used [PR32717]").
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5f6f0b72bc..57cd24c87d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1318,7 +1318,7 @@ if test $libc_cv_as_noexecstack = yes; then
fi
AC_SUBST(ASFLAGS_config)
-LIBC_LINKER_FEATURE([--no-error-execstack], [-Wl,-no-error-execstack],
+LIBC_LINKER_FEATURE([--no-error-execstack], [-Wl,--no-error-execstack],
[libc_cv_no_error_execstack=yes], [libc_cv_no_error_execstack=no])
AC_SUBST(libc_cv_no_error_execstack)