summaryrefslogtreecommitdiff
path: root/external/libfreehand/ubsan-visibility.patch
blob: dff5cdbdb57f178915a13ee55e57af984887c7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- configure
+++ configure
@@ -18369,7 +18369,7 @@
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fvisibility=hidden compiler flag" >&5
 $as_echo_n "checking for -fvisibility=hidden compiler flag... " >&6; }
         saved_CXXFLAGS="$CXXFLAGS"
-        CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
+        CXXFLAGS="$CXXFLAGS -fvisibility-ms-compat"
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */