From: Michael Ow Date: Sat, 23 Jun 2012 16:10:30 +0000 (+0000) Subject: ICU-9390 Remove gcc std option on Solaris X-Git-Tag: milestone-59-0-1~3740 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4a2d5b7bce297e79df3a4a03bc4bbaf07e92eca;p=icu ICU-9390 Remove gcc std option on Solaris X-SVN-Rev: 31985 --- diff --git a/icu4c/source/aclocal.m4 b/icu4c/source/aclocal.m4 index c614985d124..e19cff824fe 100644 --- a/icu4c/source/aclocal.m4 +++ b/icu4c/source/aclocal.m4 @@ -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 " CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";; diff --git a/icu4c/source/configure b/icu4c/source/configure index f87110631a1..cf4ddb75e1a 100755 --- a/icu4c/source/configure +++ b/icu4c/source/configure @@ -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 " CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;