mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-9390 Remove gcc std option on Solaris
X-SVN-Rev: 31985
This commit is contained in:
parent
de21207590
commit
d4a2d5b7bc
2 changed files with 2 additions and 4 deletions
3
icu4c/source/aclocal.m4
vendored
3
icu4c/source/aclocal.m4
vendored
|
@ -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";;
|
||||
|
|
3
icu4c/source/configure
vendored
3
icu4c/source/configure
vendored
|
@ -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";;
|
||||
|
|
Loading…
Add table
Reference in a new issue