mirror of
https://github.com/curl/curl.git
synced 2026-06-04 08:04:16 +03:00
Adjust DEC/Compaq C compiler settings.
This commit is contained in:
parent
7ad3abfd05
commit
74d77cb140
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue