mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +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."
|
COPYRIGHT="1988-2025 Free Software Foundation, Inc."
|
||||||
LICENSE="GNU GPL v3
|
LICENSE="GNU GPL v3
|
||||||
GNU LGPL v3"
|
GNU LGPL v3"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="https://ftpmirror.gnu.org//binutils/binutils-$portVersion.tar.xz
|
SOURCE_URI="https://ftpmirror.gnu.org//binutils/binutils-$portVersion.tar.xz
|
||||||
https://ftp.gnu.org/gnu/binutils/binutils-$portVersion.tar.xz"
|
https://ftp.gnu.org/gnu/binutils/binutils-$portVersion.tar.xz"
|
||||||
SOURCE_DIR="binutils-$portVersion"
|
SOURCE_DIR="binutils-$portVersion"
|
||||||
@@ -103,7 +103,7 @@ BUILD()
|
|||||||
--docdir=$docDir --enable-host-shared --enable-largefile=yes \
|
--docdir=$docDir --enable-host-shared --enable-largefile=yes \
|
||||||
--disable-libtool-lock --disable-nls --enable-plugins --enable-64-bit-bfd \
|
--disable-libtool-lock --disable-nls --enable-plugins --enable-64-bit-bfd \
|
||||||
--enable-ld=default --enable-targets=$binUtilsTargets \
|
--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
|
# Note: The sysroot option is normally superfluous. We have to specify
|
||||||
# it, however, since these binutils may be used by the bootstrap-gcc,
|
# it, however, since these binutils may be used by the bootstrap-gcc,
|
||||||
# which passes --sysroot=<path> to ld.
|
# which passes --sysroot=<path> to ld.
|
||||||
|
|||||||
Reference in New Issue
Block a user