[PATCH] Build on Debian GNU/Hurd
Patch from Cyril Brulebois to make the build process detect and support the
Debian GNU/Hurd architecture, see
http://bugs.debian.org/379841
Signed-off-by: Gerrit Pape <pape@smarden.org>
---
Makefile | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 7b3114f..6e36eff 100644
--- a/Makefile
+++ b/Makefile
@@ -383,6 +383,11 @@ ifeq ($(uname_S),NetBSD)
ALL_CFLAGS += -I/usr/pkg/include
ALL_LDFLAGS += -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib
endif
+ifeq ($(uname_S),GNU)
+ # GNU stands for GNU/Hurd
+ NO_STRLCPY = YesPlease
+ ALL_CFLAGS += -DPATH_MAX=4096
+endif
ifeq ($(uname_S),AIX)
NO_STRCASESTR=YesPlease
NO_STRLCPY = YesPlease
--
1.4.2.1