2014-02-18 17:54:27 -08:00
|
|
|
include build/platform-x86-common.mk
|
2013-12-10 18:57:32 +08:00
|
|
|
ASM = nasm
|
2014-02-18 17:54:27 -08:00
|
|
|
SHAREDLIBSUFFIX = dylib
|
2014-01-23 15:16:29 +02:00
|
|
|
CFLAGS += -Wno-deprecated-declarations -Werror -fPIC -DMACOS -DMT_ENABLED -MMD -MP
|
2013-12-16 09:31:00 +02:00
|
|
|
LDFLAGS += -lpthread
|
2014-01-03 14:49:45 +08:00
|
|
|
ASMFLAGS += --prefix _ -DNOPREFIX
|
|
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
|
|
ASMFLAGS += -f macho64
|
|
|
|
else
|
|
|
|
ASMFLAGS += -f macho
|
|
|
|
endif
|
|
|
|
|