openh264/build/platform-linux.mk

18 lines
432 B
Makefile
Raw Normal View History

include $(SRC_PATH)build/arch.mk
2014-02-18 17:54:27 -08:00
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 ($(ARCH), x86_64)
2014-01-03 14:49:45 +08:00
ASMFLAGS += -f elf64
else
ASMFLAGS += -f elf
2014-01-03 14:49:45 +08:00
endif
endif
ifeq ($(ASM_ARCH), arm)
ASMFLAGS += -march=armv7-a -mfpu=neon
endif