0acb780715
Nothing within the library actually uses these defines for anything any more. If necessary, the built-in defines __APPLE__ and __linux__ can be used instead of these manually added defines. This is similar to how we use _WIN32 instead of manually defining WIN32.
16 lines
304 B
Makefile
16 lines
304 B
Makefile
include build/platform-arch.mk
|
|
SHAREDLIBSUFFIX = so
|
|
CFLAGS += -Wall -fno-strict-aliasing -fPIC -MMD -MP
|
|
LDFLAGS += -lpthread
|
|
ifeq ($(ASM_ARCH), x86)
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
ASMFLAGS += -f elf64
|
|
else
|
|
ASMFLAGS += -f elf32
|
|
endif
|
|
endif
|
|
ifeq ($(ASM_ARCH), arm)
|
|
ASMFLAGS += -march=armv7-a -mfpu=neon
|
|
endif
|
|
|