summaryrefslogtreecommitdiff
path: root/Makerules
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 /Makerules
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 'Makerules')
-rw-r--r--Makerules3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 33cfe902..635f4ab6 100644
--- a/Makerules
+++ b/Makerules
@@ -71,9 +71,6 @@ ifeq "$(OS)" "MINGW"
WINDRES := windres
HAVE_X11 ?= no
HAVE_WIN32 := yes
-CC=gcc
-# Add flags required for Harfbuzz because of missing strdup
-CFLAGS+= -U__STRICT_ANSI__
# Mac OS X doesn't have pkg-config so we hard code paths.
else ifeq "$(OS)" "MACOS"