diff options
author | Todd Miller <jmiller@stsci.edu> | 2018-10-08 11:29:58 -0400 |
---|---|---|
committer | Todd Miller <jmiller@stsci.edu> | 2018-10-08 11:29:58 -0400 |
commit | 829b9f0571af9ed22114b70071a1ae7317706e4c (patch) | |
tree | f44e9bc0352998d09c28934ee0760a5b01c632a1 /hstcal/build.sh | |
parent | ff7bb35c63ef298df2207dbfdc49e441cec0e2ae (diff) | |
parent | d75fa7d104a59296efa95bafb7c17b46e7e18dd6 (diff) | |
download | astroconda-contrib-829b9f0571af9ed22114b70071a1ae7317706e4c.tar.gz |
Merge branch 'master' of https://github.com/astroconda/astroconda-contrib into update-crds-version
Diffstat (limited to 'hstcal/build.sh')
-rw-r--r-- | hstcal/build.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/hstcal/build.sh b/hstcal/build.sh index 4845293..a9727f0 100644 --- a/hstcal/build.sh +++ b/hstcal/build.sh @@ -1,10 +1,11 @@ if [[ `uname` == Darwin ]]; then export CC=`which gcc` - export DARWIN_FLAGS='-m64' - export CFLAGS="$CFLAGS $DARWIN_FLAGS" - export LDFLAGS="$LDFLAGS $DARWIN_FLAGS" + if [[ `uname -m` == x86_64 ]]; then + export CFLAGS="$CFLAGS -m64" + export LDFLAGS="$LDFLAGS -m64" + fi fi -./waf configure --prefix=$PREFIX +./waf configure --prefix=$PREFIX --release-with-symbols ./waf build ./waf install |