diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-25 16:05:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-25 16:15:58 +0100 |
commit | 16bf916eee4148d66a13323aa69c1bb272c3219e (patch) | |
tree | 8c198f593f52e2d29e7a47ad8807802a8cfb9675 /external | |
parent | 1337932c038d0a0f689e59de7c8ffd272dbdafa4 (diff) |
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
Diffstat (limited to 'external')
-rw-r--r-- | external/breakpad/ExternalProject_breakpad.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/breakpad/ExternalProject_breakpad.mk b/external/breakpad/ExternalProject_breakpad.mk index 10fa6cedb590..f95b4b2e65b4 100644 --- a/external/breakpad/ExternalProject_breakpad.mk +++ b/external/breakpad/ExternalProject_breakpad.mk @@ -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) \ ) |