[coreboot-gerrit] New patch to review for coreboot: buildgcc: Help GMP build with 32-bit NetBSD
Nico Huber (nico.h@gmx.de)
gerrit at coreboot.org
Wed Jan 20 23:25:54 CET 2016
Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13067
-gerrit
commit 195a80cbad95f22fbda42767f446dfde0438d086
Author: Nico Huber <nico.h at gmx.de>
Date: Wed Jan 20 23:22:33 2016 +0100
buildgcc: Help GMP build with 32-bit NetBSD
GMP's configure tries to build for 64-bit with a 32-bit userspace on
NetBSD too. Help it by forcing ABI=32.
Change-Id: I290ea0ef1626fdd88dc3ff74fadb9578ef6a1c9c
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
util/crossgcc/buildgcc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index c665412..004df8b 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -693,6 +693,11 @@ elif [ $UNAME = "Linux" -o $UNAME = "Cygwin" ]; then
if [ "$(uname -m 2>/dev/null)" = "i686" ]; then
OPTIONS="ABI=32"
fi
+elif [ $UNAME = "NetBSD" ]; then
+ # same for NetBSD but this one reports an i386
+ if [ "$(uname -m 2>/dev/null)" = "i386" ]; then
+ OPTIONS="ABI=32"
+ fi
fi
fi # GCC
More information about the coreboot-gerrit
mailing list