ref: ab3609c4c7f0f3648db9c4434293b2ca6de341ed
dir: /build/platform-darwin.mk/
include build/platform-arch.mk ASM = nasm SHAREDLIBSUFFIX = dylib SHARED = -dynamiclib CFLAGS += -Werror -fPIC -DMACOS -DMT_ENABLED -MMD -MP LDFLAGS += -lpthread ifeq ($(ASM_ARCH), x86) ASMFLAGS += --prefix _ -DNOPREFIX ifeq ($(ENABLE64BIT), Yes) ASMFLAGS += -f macho64 else ASMFLAGS += -f macho LDFLAGS += -read_only_relocs suppress endif endif