]> granicus.if.org Git - icu/commitdiff
ICU-8554 Don't use visibility attribute when building on AIX using GCC
authorMichael Ow <mow@svn.icu-project.org>
Sun, 26 Jun 2011 07:08:22 +0000 (07:08 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Sun, 26 Jun 2011 07:08:22 +0000 (07:08 +0000)
X-SVN-Rev: 30235

icu4c/source/configure
icu4c/source/configure.in

index 0e65e44832999963e0353fd12b43e89ae1892cb1..773ee441cb4598b2044f1f027edec7d7bd1470a7 100755 (executable)
@@ -5377,8 +5377,8 @@ OLD_CFLAGS="${CFLAGS}"
 OLD_CXXFLAGS="${CXXFLAGS}"
 if test "$ac_cv_c_compiler_gnu" = yes; then
     case "${host}" in
-    *-pc-cygwin*|*-pc-mingw*)
-        # Cygwin GCC does not have the visibility attribute
+    *-pc-cygwin*|*-pc-mingw*|*-*-aix*)
+        # Cygwin and AIX GCC does not have the visibility attribute
         ;;
     *)
         LIBCFLAGS="-fvisibility=hidden"
index b3341ca17e939aa6b15fec5959411bc04ad086ec..79f5d680eba774e32d9362f837f9f742c0895ada 100644 (file)
@@ -319,8 +319,8 @@ OLD_CFLAGS="${CFLAGS}"
 OLD_CXXFLAGS="${CXXFLAGS}"
 if test "$ac_cv_c_compiler_gnu" = yes; then
     case "${host}" in
-    *-pc-cygwin*|*-pc-mingw*)
-        # Cygwin GCC does not have the visibility attribute
+    *-pc-cygwin*|*-pc-mingw*|*-*-aix*)
+        # Cygwin and AIX GCC does not have the visibility attribute
         ;;
     *)
         LIBCFLAGS="-fvisibility=hidden"