Skip to content

Commit a644062

Browse files
author
Jeff Whitaker
committed
try again
1 parent c5e3b69 commit a644062

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ function build_netcdf2 {
3131
build_hdf5
3232
build_curl
3333
fetch_unpack https://github.com/Unidata/netcdf-c/archive/v${NETCDF_VERSION}.tar.gz
34-
echo "Using C compiler: $(which gcc)"
35-
echo "gcc version: `gcc --version`"
36-
export CFLAGS="-std=c99 -pedantic-errors -fextended-identifiers -Wl,-strip-all"
34+
if [ -z "$IS_OSX" ]; then
35+
#export CFLAGS="-std=c99 -pedantic-errors -fextended-identifiers -Wl,-strip-all"
36+
export CFLAGS="-std=c99 -Wl,-strip-all"
37+
fi
3738
(cd netcdf-c-${NETCDF_VERSION} \
3839
&& ./configure --prefix=$BUILD_PREFIX --enable-dap \
3940
&& make -j4 \

0 commit comments

Comments
 (0)