[Libreoffice-commits] core.git: configure.ac

Stephan Bergmann sbergman at redhat.com
Thu Mar 2 16:29:35 UTC 2017


 configure.ac |   25 -------------------------
 1 file changed, 25 deletions(-)

New commits:
commit 8934a3b1e29a80ce7f0ae0c59c4a3add84a0d72a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Mar 2 17:28:00 2017 +0100

    Remove HAVE_GCC_VISIBILITY_BROKEN check completely now
    
    ...after 5.3 branch-off, cf. 1ea987f23a4514bcae5a6bd98014ade1af4a0107 "Remove
    HAVE_GCC_VISIBILITY_BROKEN, never true"
    
    Change-Id: Ibc6a059d5704c3ceafffef578bf61abe202dbdd6

diff --git a/configure.ac b/configure.ac
index 76da4e4..a4f0503 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6370,31 +6370,6 @@ if test "$_os" != "WINNT"; then
         fi
     fi
 
-    sharedlink_ldflags_save=$LDFLAGS
-    LDFLAGS="$LDFLAGS -fvisibility-inlines-hidden $PICSWITCH $LINKFLAGSSHL"
-
-    AC_MSG_CHECKING([if gcc is -fvisibility-inlines-hidden safe with STL headers])
-    AC_LINK_IFELSE([AC_LANG_PROGRAM([[
-#include <sstream>
-using namespace std;
-        ]], [[
-istringstream strm( "test" ); return 0;
-        ]])],
-        # Ugh, surely bad to assume an error message will contain
-        # the word "unresolvable", a problem with
-        # -fvisibility-inlines-hidden and STL headers might cause
-        # some more obscure message on some platform, and anway,
-        # the error message could be localised.
-        [$EGREP -q unresolvable conftest.err;
-        if test $? -eq 0; then gccvisok=no; else gccvisok=yes; fi],[gccvisok=no
-    ])
-    AC_MSG_RESULT([$gccvisok])
-    if test "$gccvisok" = "no"; then
-        AC_MSG_ERROR([Your gcc is not -fvisibility-inlines-hidden safe. This is no longer supported.])
-    fi
-
-    LDFLAGS=$sharedlink_ldflags_save
-
     # As the below test checks things when linking self-compiled dynamic libraries, it presumably is irrelevant
     # when we don't make any dynamic libraries?
     if test "$DISABLE_DYNLOADING" = ""; then


More information about the Libreoffice-commits mailing list