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:
Oliver Tappe
2014-07-03 19:42:04 +02:00
parent 7d277e7376
commit f345655f4d

View File

@@ -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" \