summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2016-12-06 16:10:41 -0500
committerGitHub <noreply@github.com>2016-12-06 16:10:41 -0500
commita074745add10163604a22010aec916cca8059288 (patch)
treed680b34c8e4ce54b165ad8a0eaf0dbde342c2e92
parent070ac2d1f40ec44424338ea89b5f354dd2a27f53 (diff)
downloadastroconda-dev-a074745add10163604a22010aec916cca8059288.tar.gz
Force gcc usage under OS X (#11)
-rw-r--r--hstcal/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hstcal/build.sh b/hstcal/build.sh
index 275a297..e8efb69 100644
--- a/hstcal/build.sh
+++ b/hstcal/build.sh
@@ -1,3 +1,7 @@
+if [[ `uname` == Darwin ]]; then
+ export CC=`which gcc`
+fi
+
./waf configure --prefix=$PREFIX
./waf build
./waf install