Adjust DEC/Compaq C compiler settings.
authorYang Tse <yangsita@gmail.com>
Sun, 3 Aug 2008 03:14:05 +0000 (03:14 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 3 Aug 2008 03:14:05 +0000 (03:14 +0000)
configure.ac

index 53cbe6a..f31896c 100644 (file)
@@ -236,6 +236,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