Merge pull request #34 from mstorsjo/make-asm-override

Include the platform makefile before adding defines for x86 asm
This commit is contained in:
Andreas Gal 2013-12-13 07:35:24 -08:00
commit 9cf27c36e5

View File

@ -19,12 +19,12 @@ CFLAGS = -g
USE_ASM = No
endif
include build/platform-$(UNAME).mk
ifeq ($(USE_ASM),Yes)
CFLAGS += -DX86_ASM
endif
include build/platform-$(UNAME).mk
CFLAGS += -DNO_DYNAMIC_VP -DHAVE_CACHE_LINE_ALIGN
LDFLAGS +=
ASMFLAGS += -DNO_DYNAMIC_VP -DNOPREFIX