summaryrefslogtreecommitdiffstats
path: root/gnu/objc
diff options
context:
space:
mode:
authorEric Sandall2008-03-17 22:36:26 -0700
committerEric Sandall2008-04-08 09:26:42 -0700
commitaa3e922d0cae36fbf552d3b44b51e663d8e6847c (patch)
tree2517d444a533855382dec9d0a3798649b26dceff /gnu/objc
parent5fdd62a9dd87c6ae6291d512bf6454111770051f (diff)
objc: x86_64 build fix, otherwise tries to compile as x86_64-unknown-linux-gnu instead of x86_64-pc-linux-gnu and breaks
(cherry-picked from commit 7055226c6c4e4735e51fb28e8be1c88546f18f75) (cherry picked from commit edea522b2e6eade3a595646ffca535af282f1144)
Diffstat (limited to 'gnu/objc')
-rwxr-xr-xgnu/objc/BUILD4
-rw-r--r--gnu/objc/HISTORY5
2 files changed, 9 insertions, 0 deletions
diff --git a/gnu/objc/BUILD b/gnu/objc/BUILD
index b06e6cdcca..db4e8ca1df 100755
--- a/gnu/objc/BUILD
+++ b/gnu/objc/BUILD
@@ -7,6 +7,10 @@ persistent_read gcc GCC_LDFLAGS LDFLAGS &&
sedit "s/lib64/lib/" gcc/config/i386/linux64.h &&
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ OPTS="--build=x86_64-pc-linux-gnu $OPTS"
+fi &&
+
cd $SOURCE_DIRECTORY.bld &&
$SOURCE_DIRECTORY/configure \
--host=$HOST \
diff --git a/gnu/objc/HISTORY b/gnu/objc/HISTORY
index ea157928f2..d9bdf5b994 100644
--- a/gnu/objc/HISTORY
+++ b/gnu/objc/HISTORY
@@ -1,6 +1,11 @@
2008-03-15 Eric Sandall <sandalle@sourcemage.org>
* DETAILS: Updated to 4.3.0
* DEPENDS: Depends on gmp and mpfr
+ * BUILD: Pass --build=x86_64-pc-linux-gnu for x86_64, only way I found
+ to get around this warning:
+ configure: WARNING: If you wanted to set the --build type, don't use
+ --host. If a cross compiler is detected then cross compile mode will
+ be used.
2008-02-05 Eric Sandall <sandalle@sourcemage.org>
* DETAILS: Updated to 4.2.3