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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user