summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-12-13 14:56:28 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-12-13 21:05:30 +0100
commita66a5541639ffac0a5265616f652f7663804dc87 (patch)
treee13d2256b6987fc64d1fa6d0579d56a588e64ea5 /Makethird
parenteacd070190d0c7a7fbc905a2a292f38e282b5a82 (diff)
downloadmupdf-a66a5541639ffac0a5265616f652f7663804dc87.tar.xz
Don't pass -Wdeclaration-after-statement to C++ compiler.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makethird b/Makethird
index fbc8b7f8..1dadf77a 100644
--- a/Makethird
+++ b/Makethird
@@ -164,7 +164,7 @@ HARFBUZZ_OBJ := $(addprefix $(HARFBUZZ_OUT)/, $(HARFBUZZ_SRC:%.cc=%.o))
$(HARFBUZZ_OUT):
$(MKDIR_CMD)
$(HARFBUZZ_OUT)/%.o: $(HARFBUZZ_DIR)/src/%.cc | $(HARFBUZZ_OUT)
- $(CC_CMD) -DHAVE_OT -DHAVE_UCDN -DHB_NO_MT $(FREETYPE_CFLAGS) \
+ $(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