diff options
Diffstat (limited to 'auto')
-rw-r--r-- | auto/cc/test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/auto/cc/test b/auto/cc/test index 4d6d5a43..34e4379e 100644 --- a/auto/cc/test +++ b/auto/cc/test @@ -67,8 +67,7 @@ case $NXT_CC_NAME in NXT_CFLAGS="$NXT_CFLAGS -fno-strict-overflow" - # c99/gnu99 conflict with Solaris XOPEN. - #NXT_CFLAGS="$NXT_CFLAGS -std=gnu99" + NXT_CFLAGS="$NXT_CFLAGS -std=gnu11" NXT_CFLAGS="$NXT_CFLAGS -O" NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra" @@ -110,6 +109,8 @@ case $NXT_CC_NAME in NXT_CFLAGS="$NXT_CFLAGS -fno-strict-overflow" + NXT_CFLAGS="$NXT_CFLAGS -std=gnu11" + NXT_CFLAGS="$NXT_CFLAGS -O" NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra" |