From 76fad0a9b42d4978b40d96fc791ce26bb1c165f8 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Wed, 22 Jan 2020 11:46:51 -0500 Subject: Adjust to correctly find compiler on macos (#597) --- hstcal/build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hstcal') diff --git a/hstcal/build.sh b/hstcal/build.sh index 743a75f..37e7be2 100644 --- a/hstcal/build.sh +++ b/hstcal/build.sh @@ -1,16 +1,16 @@ -# Use the compilers provided by conda. The activation of the build -# environment defines the GCC and GFORTRAN env vars. -export CC=$CC export FCFLAGS="$FCFLAGS -fPIC" if [[ `uname` == Darwin ]]; then - export CC=$(which $CLANG) - export GFORTRAN=$(which gfortran) + #export GFORTRAN=$(which gfortran) if [[ `uname -m` == x86_64 ]]; then export CFLAGS="$CFLAGS -m64" export LDFLAGS="$LDFLAGS -m64" fi +else + # Use the compilers provided by conda. The activation of the build + # environment defines the GCC and GFORTRAN env vars. + export CC=$CC fi ./waf configure --prefix=$PREFIX --release-with-symbols -- cgit