fix build
[LibreOffice.git] / external / libvisio / ubsan-visibility.patch
blob1855c737bd79b69cf96c82bfd763806280bc9792
1 --- configure
2 +++ configure
3 @@ -17847,7 +17847,7 @@
4 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fvisibility=hidden compiler flag" >&5
5 $as_echo_n "checking for -fvisibility=hidden compiler flag... " >&6; }
6 saved_CXXFLAGS="$CXXFLAGS"
7 - CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
8 + CXXFLAGS="$CXXFLAGS -fvisibility-ms-compat"
9 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10 /* end confdefs.h. */