binutils: disable executable stack by default

can be enabled on demand, no warnings like on #13782
This commit is contained in:
Jérôme Duval
2026-03-05 20:09:37 +01:00
parent 1d3c269ff9
commit 4075046319

View File

@@ -22,7 +22,7 @@ HOMEPAGE="https://www.gnu.org/software/binutils/"
COPYRIGHT="1988-2025 Free Software Foundation, Inc."
LICENSE="GNU GPL v3
GNU LGPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://ftpmirror.gnu.org//binutils/binutils-$portVersion.tar.xz
https://ftp.gnu.org/gnu/binutils/binutils-$portVersion.tar.xz"
SOURCE_DIR="binutils-$portVersion"
@@ -103,7 +103,7 @@ BUILD()
--docdir=$docDir --enable-host-shared --enable-largefile=yes \
--disable-libtool-lock --disable-nls --enable-plugins --enable-64-bit-bfd \
--enable-ld=default --enable-targets=$binUtilsTargets \
--with-sysroot=/
--with-sysroot=/ --enable-default-execstack=no
# Note: The sysroot option is normally superfluous. We have to specify
# it, however, since these binutils may be used by the bootstrap-gcc,
# which passes --sysroot=<path> to ld.