Skip to content

Commit c5e3b69

Browse files
author
Jeff Whitaker
committed
add cflags
1 parent 8d79c00 commit c5e3b69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function build_netcdf2 {
3333
fetch_unpack https://github.com/Unidata/netcdf-c/archive/v${NETCDF_VERSION}.tar.gz
3434
echo "Using C compiler: $(which gcc)"
3535
echo "gcc version: `gcc --version`"
36+
export CFLAGS="-std=c99 -pedantic-errors -fextended-identifiers -Wl,-strip-all"
3637
(cd netcdf-c-${NETCDF_VERSION} \
3738
&& ./configure --prefix=$BUILD_PREFIX --enable-dap \
3839
&& make -j4 \

0 commit comments

Comments
 (0)