--- Makefile +++ Makefile @@ -305,6 +305,11 @@ -Wno-missing-field-initializers -fno-delete-null-pointer-checks endif +ifeq ($(shell uname), Darwin) +HOSTCFLAGS += -I../darwin-musl -w +HOSTCXXFLAGS += -I../darwin-musl -w +endif + # Decide whether to build built-in, modular, or both. # Normally, just do built-in.