aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3c40a1a79..2cd527d9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -303,6 +303,8 @@ if test "$curl_cv_have_def___DECC" = "yes" ||
AC_MSG_RESULT([yes])
dnl Select strict ANSI C compiler mode
CFLAGS="$CFLAGS -std1"
+ dnl Turn off optimizer ANSI C aliasing rules
+ CFLAGS="$CFLAGS -noansi_alias"
dnl Select a higher warning level than default level2
CFLAGS="$CFLAGS -msg_enable level3"
dnl Generate warnings for missing function prototypes