summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index b4f8c6bdcc..138558a3b1 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -688,6 +688,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