summaryrefslogtreecommitdiff
path: root/hstcal/build.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2018-08-09 11:10:15 -0400
committerGitHub <noreply@github.com>2018-08-09 11:10:15 -0400
commit6a4484790fefb15b48a11b9640590196e45caaa5 (patch)
treee4ed9f3fc5f024ca3170416bc8917cb6ab5d164d /hstcal/build.sh
parent44c0e17a1740262e17a9f377a2ba7301f2cf093b (diff)
downloadastroconda-contrib-6a4484790fefb15b48a11b9640590196e45caaa5.tar.gz
Cfitsio disable cURL (#385)
* Bump build number for affected recipes
Diffstat (limited to 'hstcal/build.sh')
-rw-r--r--hstcal/build.sh9
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