Permalink
Browse files

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>
  • Loading branch information...
1 parent 889b810 commit d82f34a7ec478bb16d6e2c2dae562bdaead4c8d5 @stbergmann stbergmann committed Nov 1, 2016
Showing with 7 additions and 1 deletion.
  1. +7 −1 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) \
)

0 comments on commit d82f34a

Please sign in to comment.