mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-18 17:35:59 +01:00
binutils: disable executable stack by default
can be enabled on demand, no warnings like on #13782
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user