summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-08-02 08:56:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-03 00:26:02 (GMT)
commitc29ba0c3edc513259eee572f9c9257ec7cd94a56 (patch)
treeb5eb07fab9a94872c11f29be6f1fc1828ba50d1e /Makefile
parent7fcff9def564fae7de5d2a34a095229a999b80b0 (diff)
downloadgit-c29ba0c3edc513259eee572f9c9257ec7cd94a56.zip
git-c29ba0c3edc513259eee572f9c9257ec7cd94a56.tar.gz
git-c29ba0c3edc513259eee572f9c9257ec7cd94a56.tar.bz2
Support building on GNU/Hurd
GNU/Hurd systems don't have strlcpy. Signed-off-by: Thomas Schwinge <tschwinge@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b593446..2f3b9b2 100644
--- a/Makefile
+++ b/Makefile
@@ -458,6 +458,10 @@ ifeq ($(uname_S),AIX)
NO_STRLCPY = YesPlease
NEEDS_LIBICONV=YesPlease
endif
+ifeq ($(uname_S),GNU)
+ # GNU/Hurd
+ NO_STRLCPY=YesPlease
+endif
ifeq ($(uname_S),IRIX64)
NO_IPV6=YesPlease
NO_SETENV=YesPlease