config.mak.uname: Cygwin needs OBJECT_CREATION_USES_RENAMES
authorAdam Dinwoodie <adam@dinwoodie.org>
Fri, 7 Aug 2015 20:30:28 +0000 (21:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Aug 2015 21:36:45 +0000 (14:36 -0700)
This is necessary to use Git on Windows shared directories, and is
already enabled for the MinGW and plain Windows builds.

This problem was reported on the Cygwin mailing list at
https://cygwin.com/ml/cygwin/2015-08/msg00102.html (amongst others)
and is being applied as a manual patch to the Cygwin builds until
the patch is taken here.

Reported-by: Peter Rosin <peda@lysator.liu.se>
Signed-off-by: Adam Dinwoodie <adam@dinwoodie.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname
index aba56dcfad74919491360d0914d1390a9cbba110..524bb4125cc39f11319655543cfd1279172b822d 100644 (file)
@@ -171,6 +171,7 @@ ifeq ($(uname_O),Cygwin)
        X = .exe
        UNRELIABLE_FSTAT = UnfortunatelyYes
        SPARSE_FLAGS = -isystem /usr/include/w32api -Wno-one-bit-signed-bitfield
+       OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
 endif
 ifeq ($(uname_S),FreeBSD)
        NEEDS_LIBICONV = YesPlease