diff options
Diffstat (limited to 'external')
-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) \ ) |