shithub: openh264

ref: ab2e5fe20760049c97f9d40af55353c4c2819056
dir: /build/platform-x86-common.mk/

View raw version
CFLAGS_M32=-m32
CFLAGS_M64=-m64
ifeq (, $(ENABLE64BIT))
ifeq ($(ARCH), x86_64)
ENABLE64BIT=Yes
endif
endif
ifeq ($(ENABLE64BIT), Yes)
CFLAGS += $(CFLAGS_M64)
LDFLAGS += $(CFLAGS_M64)
ASMFLAGS_PLATFORM = -DUNIX64
else
CFLAGS += $(CFLAGS_M32)
LDFLAGS += $(CFLAGS_M32)
ASMFLAGS_PLATFORM = -DX86_32
endif
ifeq ($(USE_ASM),Yes)
CFLAGS += -DX86_ASM
endif
ASMFLAGS += $(ASMFLAGS_PLATFORM) -DNO_DYNAMIC_VP