2014-02-25 22:48:35 +01:00
|
|
|
include build/platform-arch.mk
|
2014-02-19 02:54:27 +01:00
|
|
|
SHAREDLIBSUFFIX = so
|
2014-01-23 14:16:29 +01:00
|
|
|
CFLAGS += -Werror -fPIC -DLINUX -DMT_ENABLED -MMD -MP
|
2013-12-16 08:31:00 +01:00
|
|
|
LDFLAGS += -lpthread
|
2014-03-01 01:03:13 +01:00
|
|
|
ifeq ($(ASM_ARCH), x86)
|
2014-01-03 07:49:45 +01:00
|
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
|
|
ASMFLAGS += -f elf64
|
2014-01-05 13:12:47 +01:00
|
|
|
else
|
2014-01-03 07:49:45 +01:00
|
|
|
ASMFLAGS += -f elf32
|
|
|
|
endif
|
2014-03-01 01:03:13 +01:00
|
|
|
endif
|
2014-02-26 14:00:35 +01:00
|
|
|
ifeq ($(ASM_ARCH), arm)
|
|
|
|
ASMFLAGS += -march=armv7-a -mfpu=neon
|
|
|
|
endif
|
2013-12-10 11:57:32 +01:00
|
|
|
|