summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Obry <pascal.obry@gmail.com>2007-12-01 09:49:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-05 06:03:42 (GMT)
commit7a4a2e1f797724ce15b059f55ce57eab0e6be807 (patch)
tree0132408933e40c593e1b0e00ecc3eb752c80f493
parentc7015961998a2061ad57a2a83ead009443d912f0 (diff)
downloadgit-7a4a2e1f797724ce15b059f55ce57eab0e6be807.zip
git-7a4a2e1f797724ce15b059f55ce57eab0e6be807.tar.gz
git-7a4a2e1f797724ce15b059f55ce57eab0e6be807.tar.bz2
Set OLD_ICONV on Cygwin.
Cygwin still has old definition for the iconv() second parameter. This patch fixes the last warning on Cygwin. This has been tested with Cygwin 1.5.24. Signed-off-by: Pascal Obry <pascal@obry.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index eb2dd5d..999391e 100644
--- a/Makefile
+++ b/Makefile
@@ -444,6 +444,7 @@ ifeq ($(uname_O),Cygwin)
NEEDS_LIBICONV = YesPlease
NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
NO_TRUSTABLE_FILEMODE = UnfortunatelyYes
+ OLD_ICONV = UnfortunatelyYes
# There are conflicting reports about this.
# On some boxes NO_MMAP is needed, and not so elsewhere.
# Try commenting this out if you suspect MMAP is more efficient