diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 32ecfcc72aa5..f45af613bef9 100644 --- a/configure.ac +++ b/configure.ac @@ -5990,7 +5990,7 @@ AC_SUBST(HAVE_THREADSAFE_STATICS) dnl =================================================================== dnl visibility and other gcc features dnl =================================================================== -if test "$GCC" = "yes"; then +if test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then AC_MSG_CHECKING([whether $CC supports -fvisibility=hidden]) save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -Werror -fvisibility=hidden" |