diff options
author | Rafael Kitover <rkitover@gmail.com> | 2018-09-25 16:55:35 -0700 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2018-10-13 13:55:31 +0200 |
commit | 86feae3fa74924e13a5b9218d958ea79cb36f496 (patch) | |
tree | df6b1084b6f084d40f6a306e299a14c77c32c589 /dev.mk.in | |
parent | a0bb3133f51d1cb6a6fe03a2948aebac185554e6 (diff) | |
download | ccache-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.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |