makefiles: recognize GNU/Hurd

Set HOST_HURD & HOST_UNIX for GNU/Hurd in the makefile-based build
system; the latter variable is important as it will include all the
commit Unix bits.
This commit is contained in:
Pino Toscano 2024-07-30 05:29:32 +02:00
parent 2b78561335
commit d7f46cf28e

View file

@ -29,4 +29,8 @@ ifdef HOST_OS
HOST_SOLARIS = 1 HOST_SOLARIS = 1
HOST_UNIX = 1 HOST_UNIX = 1
endif endif
ifeq ($(HOST_KERNEL), gnu)
HOST_HURD = 1
HOST_UNIX = 1
endif
endif endif