diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-07-11 17:29:21 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-07-11 17:29:21 +0000 |
commit | 37da387f8cb9cab05a3fc417a82925c531e06004 (patch) | |
tree | 10f23e5a813615f0bf45509267b24170d6c96e63 | |
parent | 17ebdddad70649a04817be9c5c8382e69e0470ea (diff) | |
download | pkgsrc-37da387f8cb9cab05a3fc417a82925c531e06004.tar.gz |
Use check_compiler=yes on Darwin, fixes bootstrap with newer XCode that
includes gcc which is actually clang.
-rwxr-xr-x | bootstrap/bootstrap | 3 |
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 |