ICU-9390 Remove gcc std option on Solaris

X-SVN-Rev: 31985
This commit is contained in:
Michael Ow 2012-06-23 16:10:30 +00:00
parent de21207590
commit d4a2d5b7bc
2 changed files with 2 additions and 4 deletions

View file

@ -454,8 +454,7 @@ AC_DEFUN(AC_CHECK_STRICT_COMPILE,
then
case "${host}" in
*-*-solaris*)
CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long"
CFLAGS="$CFLAGS -std=c99";;
CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;
*-*-hpux*)
echo "# Note: We are not using '-ansi' with HP/UX GCC because int64_t broke, see <http://bugs.icu-project.org/trac/ticket/8493>"
CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;

View file

@ -4259,8 +4259,7 @@ $as_echo "$ac_use_strict_options" >&6; }
then
case "${host}" in
*-*-solaris*)
CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long"
CFLAGS="$CFLAGS -std=c99";;
CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;
*-*-hpux*)
echo "# Note: We are not using '-ansi' with HP/UX GCC because int64_t broke, see <http://bugs.icu-project.org/trac/ticket/8493>"
CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;