summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--auto/cc/test4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/cc/test b/auto/cc/test
index 10588dac..5bd94d2f 100644
--- a/auto/cc/test
+++ b/auto/cc/test
@@ -65,6 +65,8 @@ case $NXT_CC_NAME in
# Do not export symbols except explicitly marked with NXT_EXPORT.
NXT_CFLAGS="$NXT_CFLAGS -fvisibility=hidden"
+ NXT_CFLAGS="$NXT_CFLAGS -fno-strict-overflow"
+
# c99/gnu99 conflict with Solaris XOPEN.
#NXT_CFLAGS="$NXT_CFLAGS -std=gnu99"
@@ -107,6 +109,8 @@ case $NXT_CC_NAME in
# Do not export symbols except explicitly marked with NXT_EXPORT.
NXT_CFLAGS="$NXT_CFLAGS -fvisibility=hidden"
+ NXT_CFLAGS="$NXT_CFLAGS -fno-strict-overflow"
+
NXT_CFLAGS="$NXT_CFLAGS -O"
#NXT_CFLAGS="$NXT_CFLAGS -O0"
NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra"