summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-07-11 17:29:21 +0000
committerjperkin <jperkin>2014-07-11 17:29:21 +0000
commit31e7bce3c445ffbd40ab91febc542627e07e9e08 (patch)
tree10f23e5a813615f0bf45509267b24170d6c96e63 /bootstrap/bootstrap
parentd9c432790418b8ea7c8820109404743ddf9d0aec (diff)
downloadpkgsrc-31e7bce3c445ffbd40ab91febc542627e07e9e08.tar.gz
Use check_compiler=yes on Darwin, fixes bootstrap with newer XCode that
includes gcc which is actually clang.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-xbootstrap/bootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 39f160a7db5..c1fd83e25d3 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.208 2014/04/17 18:29:01 asau Exp $
+# $NetBSD: bootstrap,v 1.209 2014/07/11 17:29:21 jperkin Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -520,6 +520,7 @@ Darwin)
set_opsys=no
machine_arch=`uname -p`
CC=${CC:-"gcc -isystem /usr/include"}; export CC
+ check_compiler=yes
osrev=`uname -r`
macosx_version=`echo $osrev | awk -F . '{ print "10."$1-4; }'`
case "$macosx_version" in