summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-03-21 11:03:23 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-03-22 14:58:18 +0100
commit90defd077ddabc919d488953cb24c86476afdf39 (patch)
tree41dbe820462dc5a00a8cb74957dcf1bcebfd64ad /Makethird
parent3dccb4108ff8ea8bfd6d56529db36ba257c17d6a (diff)
downloadmupdf-90defd077ddabc919d488953cb24c86476afdf39.tar.xz
Fix bug 696910 in a different way.
The strdup function is not part of the strict C++ standard. Use gnu++0x instead of c++0x when building Harfbuzz, which uses this function.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makethird b/Makethird
index ba3fbaa5..0e250d60 100644
--- a/Makethird
+++ b/Makethird
@@ -168,7 +168,7 @@ $(HARFBUZZ_OUT)/%.o: $(HARFBUZZ_DIR)/src/%.cc | $(HARFBUZZ_OUT)
$(CXX_CMD) -DHAVE_OT -DHAVE_UCDN -DHB_NO_MT $(FREETYPE_CFLAGS) \
-Dhb_malloc_impl=fz_hb_malloc -Dhb_calloc_impl=fz_hb_calloc \
-Dhb_free_impl=fz_hb_free -Dhb_realloc_impl=fz_hb_realloc \
- -fno-rtti -fno-exceptions -fvisibility-inlines-hidden --std=c++0x
+ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden --std=gnu++0x
HARFBUZZ_CFLAGS := -I$(HARFBUZZ_DIR)/src
else