build fix with hints file linux.500 and musl=1

This fix was suggested by @PPN-SD in the comments on
GitHub issue https://github.com/NetHack/NetHack/issues/1530#issuecomment-4466027729

Resolves #1530
This commit is contained in:
nhmall
2026-05-16 08:57:54 -04:00
parent 0f0e7c99bf
commit 2445b97a10
+3
View File
@@ -197,7 +197,10 @@ ifeq "$(CCISCLANG)" "1"
# clang-specific ends
else
# gcc-specific starts
ifndef MUSL
# __sighandler_t does not exist in musl
LIBCFLAGS+=-DSIG_RET_TYPE=__sighandler_t
endif
# gcc-specific ends
endif