mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
gcc11: fix ASLR, enable for x86 secondary arch
There are some new binaries that need ASLR enabled, otherwise we get an out of memory error. Other than that, it works fine, so we may as well enable it.
This commit is contained in:
@@ -14,7 +14,7 @@ SOURCE_DIR="gcc-$gccVersion"
|
||||
PATCHES="gcc-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libatomicSoVersion="1"
|
||||
libatomicLibVersion="1.2.0"
|
||||
@@ -382,7 +382,7 @@ INSTALL()
|
||||
addattr SYS:ENV DISABLE_ASLR=1 $f
|
||||
fi
|
||||
done
|
||||
for f in cc1 cc1plus collect2 f951 lto1; do
|
||||
for f in cc1 cc1obj cc1plus collect2 f951 g++-mapper-server lto1 lto-wrapper ; do
|
||||
addattr SYS:ENV DISABLE_ASLR=1 \
|
||||
$gccLibDir/$f
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user