mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
gcc: explicitly disable TLS on x86_64.
* Building gcc-4.8.3 on x86_64 with TLS support fails with an ICE, so don't use TLS until the problem is fixed.
This commit is contained in:
@@ -8,7 +8,7 @@ srcGitRev="3ad9ac2317f63b65937473c4fbe37c9e93e3a116"
|
||||
SRC_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="85499c650421b68f9830d3fb2ddfafb8789a3e1ffce75e8dd27aaed678135df0"
|
||||
SRC_FILENAME="$portVersionedName.tar.gz"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU LGPL v2
|
||||
@@ -87,6 +87,9 @@ BUILD()
|
||||
# disable multilib support, as x86_64 by default tries to build the
|
||||
# 32-bit libraries, too, which fails as no 32-bit libroot is available
|
||||
additionalConfigureFlags+=" --disable-multilib"
|
||||
|
||||
# disable TLS support, as it causes an ICE on x86_64
|
||||
additionalConfigureFlags+=" --disable-tls"
|
||||
fi
|
||||
|
||||
CFLAGS="-O2 -U_FORTIFY_SOURCE" CXXFLAGS="-O2" "$sourceDir/configure" \
|
||||
|
||||
Reference in New Issue
Block a user