summaryrefslogtreecommitdiff
path: root/hstcal
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2017-09-22 17:05:30 -0400
committerGitHub <noreply@github.com>2017-09-22 17:05:30 -0400
commitc94026b2a98d8b05421a3404b24bc44371375e4f (patch)
tree57168b4e34fce8dfab23c2e6066f72e33d009996 /hstcal
parent8b9c6b59e2bb44062de99efc4f29679e19519206 (diff)
downloadastroconda-dev-c94026b2a98d8b05421a3404b24bc44371375e4f.tar.gz
hstcal: [Darwin] Force 64-bit linking (#71)
Diffstat (limited to 'hstcal')
-rw-r--r--hstcal/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hstcal/build.sh b/hstcal/build.sh
index 2ea1afa..a9727f0 100644
--- a/hstcal/build.sh
+++ b/hstcal/build.sh
@@ -1,5 +1,9 @@
if [[ `uname` == Darwin ]]; then
export CC=`which gcc`
+ if [[ `uname -m` == x86_64 ]]; then
+ export CFLAGS="$CFLAGS -m64"
+ export LDFLAGS="$LDFLAGS -m64"
+ fi
fi
./waf configure --prefix=$PREFIX --release-with-symbols