diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:09:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:17:30 +0100 |
commit | b6ee5cf707343e5393514a47c024535ea6c1b7d1 (patch) | |
tree | 5d698152f2678d8a377926efe64596d2b382d0e2 /external | |
parent | 6f762e3a26be0dae8ad65f46a4a4b7193a494242 (diff) |
external/lib{odfgen,revenge}: Declare proper symbol visibility
...not only when building the libs themselves, but also when including their
header files from other code. (Omission only becomes obvious with hidden
function type RTTI causing false positives from Clang -fsanitize=function.) As
these external libs do not record the decision to enable visiblity in a config
header file that gets included, it appears easiest to hack that knowledge into
gbuild for now. (Note that libodfgen internally uses librevenge.)
Change-Id: I6a3a722d561b8cbce6e5b1f27d7aa2d7602f3cdf
Diffstat (limited to 'external')
-rw-r--r-- | external/libodfgen/ExternalProject_libodfgen.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libodfgen/ExternalProject_libodfgen.mk b/external/libodfgen/ExternalProject_libodfgen.mk index 527681add8d5..066ea8662988 100644 --- a/external/libodfgen/ExternalProject_libodfgen.mk +++ b/external/libodfgen/ExternalProject_libodfgen.mk @@ -35,7 +35,7 @@ $(call gb_ExternalProject_get_state_target,libodfgen,build) : --disable-weffc \ --without-docs \ $(if $(VERBOSE)$(verbose),--disable-silent-rules,--enable-silent-rules) \ - CXXFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost))" \ + CXXFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost)) $(if $(SYSTEM_REVENGE),,$(if $(filter-out MSC,$(COM)),-DLIBREVENGE_VISIBILITY))" \ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \ && $(MAKE) \ |