summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 48f1abd362f..2a56f19f233 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.225 2015/12/29 21:13:57 joerg Exp $
+# $NetBSD: bootstrap,v 1.226 2016/01/06 17:59:58 jperkin Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -556,6 +556,9 @@ Darwin)
set_opsys=no
get_abi "Darwin"
machine_arch=`uname -p`
+ if [ "$machine_arch" = "i386" -a "$abi" = "64" ]; then
+ machine_arch=x86_64
+ fi
CC=${CC:-"cc -isystem /usr/include"}; export CC
check_compiler=yes
osrev=`uname -r`