diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-01 11:50:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-01 16:04:44 +0000 |
commit | d82f34a7ec478bb16d6e2c2dae562bdaead4c8d5 (patch) | |
tree | 46799a569cd9cd0cc3fef5b4967e55bf59915eb7 /external/harfbuzz | |
parent | 889b8102e0c296ca41a90dc34aeb0facc40735bd (diff) |
Forward debug/optimization flags to external/harfbuzz
Change-Id: Ie3bc54a43e46dc28faca9356f414a700a0727cec
Reviewed-on: https://gerrit.libreoffice.org/30456
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/harfbuzz')
-rw-r--r-- | external/harfbuzz/ExternalProject_harfbuzz.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/external/harfbuzz/ExternalProject_harfbuzz.mk b/external/harfbuzz/ExternalProject_harfbuzz.mk index 57cfc44e8ddb..ea0635d4c318 100644 --- a/external/harfbuzz/ExternalProject_harfbuzz.mk +++ b/external/harfbuzz/ExternalProject_harfbuzz.mk @@ -40,7 +40,13 @@ $(call gb_ExternalProject_get_state_target,harfbuzz,build) : $(if $(filter MACOSX,$(OS)),--with-coretext=yes) \ $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ - $(if $(filter LINUX,$(OS)),CXXFLAGS="$(CXXFLAGS) -fvisibility=hidden") \ + CXXFLAGS=' \ + $(if $(filter $(true),$(gb_SYMBOL)),$(gb_DEBUGINFO_FLAGS)) \ + $(if $(debug), \ + $(gb_COMPILERNOOPTFLAGS) $(gb_DEBUG_CFLAGS) \ + $(gb_DEBUG_CXXFLAGS), \ + $(gb_COMPILEROPTFLAGS)) \ + $(CXXFLAGS) $(if $(filter LINUX,$(OS)),-fvisibility=hidden)' \ && (cd $(EXTERNAL_WORKDIR)/src && $(MAKE) lib) \ ) |