summaryrefslogtreecommitdiff
path: root/external/libcdr/ubsan-visibility.patch
blob: 2581786e47c30e4d9aa6a2d1869c4fec2d13b9fd (plain)
1
2
3
4
5
6
7
8
9
10
11
--- configure
+++ configure
@@ -17651,7 +17641,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.  */