hurd FTBFS patch: add -DSELECT
[ckermit.git] / debian / rules
index b6def6b..6720b1b 100755 (executable)
@@ -20,7 +20,7 @@ else
 endif
 
 DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
-ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
+ifneq (,$(or $(findstring kfreebsd, $(DEB_HOST_ARCH_OS)), $(findstring hurd, $(DEB_HOST_ARCH_OS))))
        CFLAGS += -DSELECT
 endif