summaryrefslogtreecommitdiff
path: root/scripts/uni-build-dependencies.sh
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2012-12-21 01:41:20 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2012-12-21 01:41:20 (GMT)
commitb925540b3923089fe02e39573e1bae3ca0057daa (patch)
treed736dac01974fe26e95ebcc60553a2637d694143 /scripts/uni-build-dependencies.sh
parentaeefc1f6bc3613069cd6b69d6942e7b600596ff5 (diff)
improve handling of clang for glew build
Diffstat (limited to 'scripts/uni-build-dependencies.sh')
-rwxr-xr-xscripts/uni-build-dependencies.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/scripts/uni-build-dependencies.sh b/scripts/uni-build-dependencies.sh
index 1e1abe9..ce633cf 100755
--- a/scripts/uni-build-dependencies.sh
+++ b/scripts/uni-build-dependencies.sh
@@ -221,13 +221,6 @@ build_glew()
fi
fi
- if [ $CC ]; then
- if [ $CC = "clang" ]; then
- echo "modifying glew makefile for clang"
- sed -i s/\$\(CC\)/clang/ Makefile
- fi
- fi
-
MAKER=make
if [ "`uname | grep BSD`" ]; then
if [ "`command -v gmake`" ]; then
@@ -238,8 +231,8 @@ build_glew()
fi
fi
- GLEW_DEST=$DEPLOYDIR $MAKER -j$NUMCPU
- GLEW_DEST=$DEPLOYDIR $MAKER install
+ GLEW_DEST=$DEPLOYDIR CC=$CC $MAKER -j$NUMCPU
+ GLEW_DEST=$DEPLOYDIR CC=$CC $MAKER install
}
build_opencsg()
contact: Jan Huwald // Impressum