Pass gb_VISIBILITY_FLAGS into external/breakpad

...to avoid UBSan (on Linux) reporting a ODR violation between
google_breakpad::MinidumpDescriptor::kMicrodumpOnConsole (workdir/
UnpackedTarball/breakpad/src/client/linux/handler/minidump_descriptor.cc)
defined in both the crashreport and sofficeapp dynamic libs.

Change-Id: I686a6e2041c70f0aa17a774d705dc71d95d20183
This commit is contained in:
Stephan Bergmann
2017-01-25 16:15:58 +01:00
parent 1337932c03
commit 16bf916eee
+1 -1
View File
@@ -20,7 +20,7 @@ else # !ifeq($(COM),MSC)
$(call gb_ExternalProject_get_state_target,breakpad,build) :
$(call gb_ExternalProject_run,build,\
CXX_FLAGS="-O2" ./configure \
./configure CXXFLAGS="-O2 $(gb_VISIBILITY_FLAGS)" \
&& $(MAKE) \
)