build_cross_tools_gcc4: bring in sync with native compiler.
* Previously, the cross-compiler would generate code that doesn't run on Haiku, particularly where TLS is concerned. It also ended up with a c++config.h header incompatible with the version in the native compiler. * Now possible to correctly cross-compile rust for Haiku.
This commit is contained in:
parent
fe434a740e
commit
6cc6f04747
@ -256,8 +256,9 @@ CFLAGS="$ccFlags" CXXFLAGS="$cxxFlags" "$gccSourceDir/configure" \
|
|||||||
--prefix="$installDir" $buildHostSpec --target=$haikuMachine \
|
--prefix="$installDir" $buildHostSpec --target=$haikuMachine \
|
||||||
--disable-nls --disable-shared --with-system-zlib \
|
--disable-nls --disable-shared --with-system-zlib \
|
||||||
--enable-languages=c,c++ --enable-lto --enable-frame-pointer \
|
--enable-languages=c,c++ --enable-lto --enable-frame-pointer \
|
||||||
--with-sysroot="$sysrootDir" --disable-threads --disable-tls \
|
--enable-__cxa-atexit --enable-threads=posix \
|
||||||
--disable-libatomic \
|
--with-default-libstdcxx-abi=gcc4-compatible \
|
||||||
|
--with-sysroot="$sysrootDir" \
|
||||||
$gccConfigureArgs \
|
$gccConfigureArgs \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user