summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-02-27 10:33:55 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-27 10:33:55 -0800
commit14599b48c0a145452db4363f4eee4d3fc6187d05 (patch)
tree4506e1addc4805edf822c49247534b29739f44cb
parentMerge branch 'jk/t0002-simplify' (diff)
parentMakefile: suppress a sparse warning for pack-revindex.c (diff)
downloadtgif-14599b48c0a145452db4363f4eee4d3fc6187d05.tar.xz
Merge branch 'rj/sparse-updates'
Devtool update. * rj/sparse-updates: Makefile: suppress a sparse warning for pack-revindex.c config.mak.uname: remove SPARSE_FLAGS setting for cygwin
-rw-r--r--Makefile2
-rw-r--r--config.mak.uname1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c56fdc14ca..f6d9523b95 100644
--- a/Makefile
+++ b/Makefile
@@ -2162,6 +2162,8 @@ gettext.sp gettext.s gettext.o: EXTRA_CPPFLAGS = \
http-push.sp http.sp http-walker.sp remote-curl.sp imap-send.sp: SPARSE_FLAGS += \
-DCURL_DISABLE_TYPECHECK
+pack-revindex.sp: SPARSE_FLAGS += -Wno-memcpy-max-count
+
ifdef NO_EXPAT
http-walker.sp http-walker.s http-walker.o: EXTRA_CPPFLAGS = -DNO_EXPAT
endif
diff --git a/config.mak.uname b/config.mak.uname
index 685a80d138..6a1d0de0cc 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -182,7 +182,6 @@ ifeq ($(uname_O),Cygwin)
NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
X = .exe
UNRELIABLE_FSTAT = UnfortunatelyYes
- SPARSE_FLAGS = -isystem /usr/include/w32api -Wno-one-bit-signed-bitfield
OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
MMAP_PREVENTS_DELETE = UnfortunatelyYes
COMPAT_OBJS += compat/cygwin.o