diff options
author | adam <adam@pkgsrc.org> | 2010-12-26 11:24:21 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-12-26 11:24:21 +0000 |
commit | d60f664fa0b082b7e2cac74eaab59cba9964721a (patch) | |
tree | bcfd004b56fa495bbf8c5e653fe51b0c108575db /bootstrap | |
parent | ac6d47815ede25b3296c584613a57b177b8a0aa7 (diff) | |
download | pkgsrc-d60f664fa0b082b7e2cac74eaab59cba9964721a.tar.gz |
Allow to provide CC on Darwin
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 2983dc1d886..2871e197c81 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.161 2010/11/20 00:49:33 obache Exp $ +# $NetBSD: bootstrap,v 1.162 2010/12/26 11:24:21 adam Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -480,7 +480,7 @@ Darwin) set_opsys=no [ -z "$fetch_cmd" ] && fetch_cmd="/usr/bin/ftp" machine_arch=`uname -p` - CC="gcc -isystem /usr/include"; export CC + CC=${CC:-"gcc -isystem /usr/include"}; export CC osrev=`uname -r` macosx_version=`echo $osrev | awk -F . '{ print "10."$1-4; }'` case "$macosx_version" in |