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 <ingo_weinhold@gmx.de>
This commit is contained in:
Alex Smith 2012-04-04 20:51:10 +01:00 committed by Ingo Weinhold
parent 43e7b1c2b0
commit 81eb68f280

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"