We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5e3b69 commit a644062Copy full SHA for a644062
config.sh
@@ -31,9 +31,10 @@ function build_netcdf2 {
31
build_hdf5
32
build_curl
33
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"
+ if [ -z "$IS_OSX" ]; then
+ #export CFLAGS="-std=c99 -pedantic-errors -fextended-identifiers -Wl,-strip-all"
+ export CFLAGS="-std=c99 -Wl,-strip-all"
37
+ fi
38
(cd netcdf-c-${NETCDF_VERSION} \
39
&& ./configure --prefix=$BUILD_PREFIX --enable-dap \
40
&& make -j4 \
0 commit comments