]> granicus.if.org Git - icu/commitdiff
ICU-9390 Remove gcc std option on Solaris
authorMichael Ow <mow@svn.icu-project.org>
Sat, 23 Jun 2012 16:10:30 +0000 (16:10 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Sat, 23 Jun 2012 16:10:30 +0000 (16:10 +0000)
X-SVN-Rev: 31985

icu4c/source/aclocal.m4
icu4c/source/configure

index c614985d1247b12bfb784e668ca3cee1740a9d91..e19cff824fe671bd2b3583e6aaaf720c99e07c75 100644 (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";;
index f87110631a18ff3669623b71c76e550dcb3815a7..cf4ddb75e1a057b82fa1ddd75b48c007c31e5eef 100755 (executable)
@@ -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";;