config.mak.uname: remove SPARSE_FLAGS setting for cygwin
Since commit f66450ae9 ("cygwin: Remove the Win32 l/stat() implementation", 2013-06-22), the cygwin build has not used the WIN32 API/header files. This means that the '-isystem /usr/include/w32api' option to sparse is no longer necessary (to allow sparse to find the WIN32 header files). In addition, the '-Wno-one-bit-signed-bitfield' option can be removed, since the warning suppressed by that option was only provoked by a WIN32 header file. Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramsay Jones committed
Feb 12, 2018 at 00:20 UTC
6bc8606be389aeb6e3a3f245b36de7b7ad11e9cb
1 file changed
-1
config.mak.uname
-1
@@ -182,7 +182,6 @@ ifeq ($(uname_O),Cygwin)
182
NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
183
X = .exe
184
UNRELIABLE_FSTAT = UnfortunatelyYes
185
- SPARSE_FLAGS = -isystem /usr/include/w32api -Wno-one-bit-signed-bitfield
185
OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
186
MMAP_PREVENTS_DELETE = UnfortunatelyYes
187
COMPAT_OBJS += compat/cygwin.o