summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-02-07 13:53:05 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-02-08 13:22:51 +0100
commit01751d3db388139bd77f67144203cf61ad9f04b6 (patch)
tree02fe08557808837fa8a05601572eedf45f84d289 /Makethird
parent39a83e8f8aaa8f0bf0c63c5eb40aa94191ce520a (diff)
downloadmupdf-01751d3db388139bd77f67144203cf61ad9f04b6.tar.xz
Add flag to Makethird to silence warnings when building freetype.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makethird b/Makethird
index 1dadf77a..ba3fbaa5 100644
--- a/Makethird
+++ b/Makethird
@@ -78,7 +78,8 @@ FREETYPE_OBJ := $(addprefix $(FREETYPE_OUT)/, $(FREETYPE_SRC:%.c=%.o))
$(FREETYPE_OUT):
$(MKDIR_CMD)
-FT_CFLAGS := -DFT2_BUILD_LIBRARY -DDARWIN_NO_CARBON \
+FT_CFLAGS := -Wno-unused-function \
+ -DFT2_BUILD_LIBRARY -DDARWIN_NO_CARBON \
'-DFT_CONFIG_MODULES_H="slimftmodules.h"' \
'-DFT_CONFIG_OPTIONS_H="slimftoptions.h"'