3d263d1087
Only override it in the ones where the default isn't desired.
18 lines
436 B
Makefile
18 lines
436 B
Makefile
include $(SRC_PATH)build/arch.mk
|
|
SHAREDLIBSUFFIX = so
|
|
SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX).$(SHAREDLIBVERSION)
|
|
SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER)
|
|
CFLAGS += -Wall -fno-strict-aliasing -fPIC -MMD -MP
|
|
LDFLAGS += -lpthread
|
|
ifeq ($(ASM_ARCH), x86)
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
ASMFLAGS += -f elf64
|
|
else
|
|
ASMFLAGS += -f elf
|
|
endif
|
|
endif
|
|
ifeq ($(ASM_ARCH), arm)
|
|
ASMFLAGS += -march=armv7-a -mfpu=neon
|
|
endif
|
|
|