From c6623fdce558395c9c5bafd2da9528559cb153d0 Mon Sep 17 00:00:00 2001
From: Alex Smith <alex@alex-smith.me.uk>
Date: Wed, 4 Apr 2012 20:51:10 +0100
Subject: [PATCH] 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.
---
build/scripts/build_cross_tools_gcc4 | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4
index 3c4ba83..571be11 100755
a
|
b
|
export MAKE
|
28 | 28 | |
29 | 29 | case $haikuMachine in |
30 | 30 | x86_64-*) |
31 | | binutilsConfigureArgs="--enable-multilib" |
32 | | gccConfigureArgs="--enable-multilib" |
| 31 | # GCC's default is to enable multilib, but there is a bug when |
| 32 | # explicitly using --enable-multilib that causes a build |
| 33 | # failure |
| 34 | binutilsConfigureArgs="" |
| 35 | gccConfigureArgs="" |
33 | 36 | ;; |
34 | 37 | m68k-*) |
35 | 38 | binutilsConfigureArgs="--enable-multilib" |