Skip to content

Commit b3ffdc9

Browse files
author
Jeff Whitaker
committed
use gnu99 instead of c99
1 parent a644062 commit b3ffdc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ function build_netcdf2 {
3232
build_curl
3333
fetch_unpack https://github.com/Unidata/netcdf-c/archive/v${NETCDF_VERSION}.tar.gz
3434
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"
35+
export CFLAGS="-std=gnu99 -Wl,-strip-all"
3736
fi
3837
(cd netcdf-c-${NETCDF_VERSION} \
3938
&& ./configure --prefix=$BUILD_PREFIX --enable-dap \

0 commit comments

Comments
 (0)