diff options
author | adam <adam> | 2010-12-26 11:24:21 +0000 |
---|---|---|
committer | adam <adam> | 2010-12-26 11:24:21 +0000 |
commit | 3bd9d4ec0f2b013c3e91c762738e1f8f9e4393e8 (patch) | |
tree | bcfd004b56fa495bbf8c5e653fe51b0c108575db | |
parent | f1c8f497c4de3d3dc3ceabfe4d6c688f3f158593 (diff) | |
download | pkgsrc-3bd9d4ec0f2b013c3e91c762738e1f8f9e4393e8.tar.gz |
Allow to provide CC on Darwin
-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 |