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