summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2018-11-13 17:44:11 +0000
committerJan Holesovsky <kendy@collabora.com>2019-06-05 22:19:24 +0200
commit4845f01f99c3962603e07972f1ef959b5e3beb6d (patch)
treed5547acf56b1c63ea4cb4906cdcf868463323214
parent03a48aa74c089c1c4d1e23e5dca5d0b01d299d08 (diff)
android: harfbuzz refuses to compile using mmap.
Not ideal not to use mmap on a small device though, but disable for now. Change-Id: Id595cbc87c93679c1ce186f91ad36a961aee4132 Reviewed-on: https://gerrit.libreoffice.org/63342 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r--external/harfbuzz/ExternalProject_harfbuzz.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/harfbuzz/ExternalProject_harfbuzz.mk b/external/harfbuzz/ExternalProject_harfbuzz.mk
index adc3e4c1bf59..995b4dbd1b1c 100644
--- a/external/harfbuzz/ExternalProject_harfbuzz.mk
+++ b/external/harfbuzz/ExternalProject_harfbuzz.mk
@@ -43,6 +43,7 @@ $(call gb_ExternalProject_get_state_target,harfbuzz,build) :
--libdir=$(call gb_UnpackedTarball_get_dir,harfbuzz/src/.libs) \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
CXXFLAGS=' \
+ $(if $(filter ANDROID,$(OS)),-DHB_NO_MMAP=1,) \
$(if $(filter $(true),$(gb_SYMBOL)),$(gb_DEBUGINFO_FLAGS)) \
$(if $(ENABLE_OPTIMIZED), \
$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS)) \