summaryrefslogtreecommitdiff
path: root/dev.mk.in
diff options
context:
space:
mode:
authorRafael Kitover <rkitover@gmail.com>2018-09-25 16:55:35 -0700
committerJoel Rosdahl <joel@rosdahl.net>2018-10-13 13:55:31 +0200
commit86feae3fa74924e13a5b9218d958ea79cb36f496 (patch)
treedf6b1084b6f084d40f6a306e299a14c77c32c589 /dev.mk.in
parenta0bb3133f51d1cb6a6fe03a2948aebac185554e6 (diff)
downloadccache-86feae3fa74924e13a5b9218d958ea79cb36f496.tar.gz
Minor fixes for cygwin/msys2
Add -Wno-error=implicit-fallthrough, if the compiler supports it, to dev.mk so that zlib will compile with -Werror. Disable -Wdeprecated-declarations in the mkstemp() shim in util.c so that it compiles with -Werror. Stop assuming that mkstemp() is broken on cygwin, I could not find any documentation for this. Fix a couple of erroneous checks in zlib that assume cygwin is the same as win32.
Diffstat (limited to 'dev.mk.in')
-rw-r--r--dev.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev.mk.in b/dev.mk.in
index 4ca34a46..9bd341ec 100644
--- a/dev.mk.in
+++ b/dev.mk.in
@@ -1,6 +1,6 @@
# GNU make syntax reigns in this file.
-all_cflags += -Werror
+all_cflags += -Werror @extra_cflags@
all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d
A2X = a2x