X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/2ca993e82fb37b597a3c73ecd1586a139a6579c5..a01113dcd0f39d5da295ef82785beff9ed86fe38:/icuSources/acinclude.m4?ds=sidebyside diff --git a/icuSources/acinclude.m4 b/icuSources/acinclude.m4 index b64e984b..507f41f5 100644 --- a/icuSources/acinclude.m4 +++ b/icuSources/acinclude.m4 @@ -1,4 +1,6 @@ -# Copyright (c) 1999-2015, International Business Machines Corporation and +# Copyright (C) 2016 and later: Unicode, Inc. and others. +# License & terms of use: http://www.unicode.org/copyright.html +# Copyright (c) 1999-2016, International Business Machines Corporation and # others. All Rights Reserved. # acinclude.m4 for ICU # Don't edit aclocal.m4, do edit acinclude.m4 @@ -461,10 +463,13 @@ AC_DEFUN([AC_CHECK_STRICT_COMPILE], if test "$GCC" = yes then case "${host}" in + *-*-solaris*) + # Don't use -std=c11 on Solaris because of timezone check fails + ;; *) # Do not use -ansi. It limits us to C90, and it breaks some platforms. - # We use -std=c99 to disable the gnu99 defaults and its associated warnings - CFLAGS="$CFLAGS -std=c99" + # We use -std=c11 to disable the gnu99 defaults and its associated warnings + CFLAGS="$CFLAGS -std=c11" ;; esac