summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2008-10-02 00:08:47 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2008-10-03 00:27:31 (GMT)
commit6e2dfb1631b3c40574e6f940498f3889607c3ef8 (patch)
tree29e9b79055bb2bb01224a5e22f15940a0d67fbaa
parentb65910fec21db070ac40521e4b375fca76d27c90 (diff)
downloadgit-6e2dfb1631b3c40574e6f940498f3889607c3ef8.zip
git-6e2dfb1631b3c40574e6f940498f3889607c3ef8.tar.gz
git-6e2dfb1631b3c40574e6f940498f3889607c3ef8.tar.bz2
Solaris: Use OLD_ICONV to avoid compile warnings
Solaris systems use the old styled iconv(3) call and therefore the OLD_ICONV variable should be set. Otherwise we get annoying compile warnings. Signed-off-by: David Soria Parra <dsp@php.net> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8d81095..7fad9f7 100644
--- a/Makefile
+++ b/Makefile
@@ -637,6 +637,7 @@ ifeq ($(uname_S),SunOS)
NO_MEMMEM = YesPlease
NO_HSTRERROR = YesPlease
NO_MKDTEMP = YesPlease
+ OLD_ICONV = UnfortunatelyYes
ifeq ($(uname_R),5.8)
NEEDS_LIBICONV = YesPlease
NO_UNSETENV = YesPlease