]> diplodocus.org Git - nmh/blobdiff - build_nmh
Default CFLAGS to -std=c99 instead of -ansi.
[nmh] / build_nmh
index 8056670..832bd58 100755 (executable)
--- a/build_nmh
+++ b/build_nmh
@@ -364,7 +364,7 @@ if [ -z "$CFLAGS" ]; then
   if cc -dM -E - </dev/null 2>&1 | grep __GNUC__ >/dev/null; then
     #### configure will supply -g -O2 with gcc, but only if CFLAGS
     #### isn't defined.
-    CFLAGS='-g -ansi -pedantic'
+    CFLAGS='-g -std=c99 -pedantic'
     if [ "$config_debug" = n ]; then
       CFLAGS="$CFLAGS -O2"
     else