Fixed a compilation failure for the x86_64 toolchain.

This appears to be a problem with GCC's build system: it defaults to having
multilib enabled, but if it is explicitly enabled with --enable-multilib,
the build fails.

Signed-off-by: Ingo Weinhold <[email protected]>
This commit is contained in:
Alex Smith
2012-04-05 13:15:24 +02:00
committed by Ingo Weinhold
parent 43e7b1c2b0
commit 81eb68f280
+5 -2
View File
@@ -28,8 +28,11 @@ export MAKE
case $haikuMachine in
x86_64-*)
binutilsConfigureArgs="--enable-multilib"
gccConfigureArgs="--enable-multilib"
# GCC's default is to enable multilib, but there is a bug when
# explicitly using --enable-multilib that causes a build
# failure
binutilsConfigureArgs=""
gccConfigureArgs=""
;;
m68k-*)
binutilsConfigureArgs="--enable-multilib"