summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-12-26 11:24:21 +0000
committeradam <adam@pkgsrc.org>2010-12-26 11:24:21 +0000
commitfbe9c9f697a038ea27dacf32b5c56c21e86e6544 (patch)
treebcfd004b56fa495bbf8c5e653fe51b0c108575db
parent1feefdf8f36bf8a39a434778cb9de9c697cfec21 (diff)
downloadpkgsrc-fbe9c9f697a038ea27dacf32b5c56c21e86e6544.tar.gz
Allow to provide CC on Darwin
-rwxr-xr-xbootstrap/bootstrap4
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