diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2017-09-22 17:05:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 17:05:30 -0400 |
commit | c94026b2a98d8b05421a3404b24bc44371375e4f (patch) | |
tree | 57168b4e34fce8dfab23c2e6066f72e33d009996 /hstcal/build.sh | |
parent | 8b9c6b59e2bb44062de99efc4f29679e19519206 (diff) | |
download | astroconda-dev-c94026b2a98d8b05421a3404b24bc44371375e4f.tar.gz |
hstcal: [Darwin] Force 64-bit linking (#71)
Diffstat (limited to 'hstcal/build.sh')
-rw-r--r-- | hstcal/build.sh | 4 |
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 |