2014-02-19 02:54:27 +01:00
|
|
|
include build/platform-x86-common.mk
|
2013-12-10 11:57:32 +01:00
|
|
|
ASM = nasm
|
2014-02-19 02:54:27 +01:00
|
|
|
SHAREDLIBSUFFIX = dylib
|
2014-02-24 11:05:21 +01:00
|
|
|
SHARED = -dynamiclib
|
2014-01-17 10:13:52 +01:00
|
|
|
CFLAGS += -Werror -fPIC -DMACOS -DMT_ENABLED -MMD -MP
|
2013-12-16 08:31:00 +01:00
|
|
|
LDFLAGS += -lpthread
|
2014-01-03 07:49:45 +01:00
|
|
|
ASMFLAGS += --prefix _ -DNOPREFIX
|
|
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
|
|
ASMFLAGS += -f macho64
|
|
|
|
else
|
|
|
|
ASMFLAGS += -f macho
|
2014-02-19 20:14:06 +01:00
|
|
|
LDFLAGS += -read_only_relocs suppress
|
2014-01-03 07:49:45 +01:00
|
|
|
endif
|
|
|
|
|