ref: 00849100f8d07f00a6b80ee2a6afa9ad35fae9e2
parent: c6c1691799993748a6417d70c7cd0bda635ce554
author: Martin Storsjö <martin@martin.st>
date: Sat Mar 15 08:47:03 EDT 2014
Remove the unused define NOPREFIX Nothing in the x86 assembly reacts to that define (nor anything else within the code base).
--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -17,7 +17,7 @@
APP_ABI = x86
TOOLCHAINPREFIX = $(shell NDK_PROJECT_PATH=./codec/build/android/dec make --no-print-dir -f $(NDKROOT)/build/core/build-local.mk DUMP_TOOLCHAIN_PREFIX APP_ABI=x86)
ifeq (Yes, $(USE_ASM))
- ASMFLAGS += -DNOPREFIX -f elf32
+ ASMFLAGS += -f elf32
endif
else
APP_ABI = $(ARCH)
--- a/build/platform-darwin.mk
+++ b/build/platform-darwin.mk
@@ -4,7 +4,7 @@
CFLAGS += -Werror -fPIC -DMACOS -DMT_ENABLED -MMD -MP
LDFLAGS += -lpthread
ifeq ($(ASM_ARCH), x86)
-ASMFLAGS += --prefix _ -DNOPREFIX
+ASMFLAGS += --prefix _
ifeq ($(ENABLE64BIT), Yes)
ASMFLAGS += -f macho64
else
--- a/build/platform-freebsd.mk
+++ b/build/platform-freebsd.mk
@@ -3,7 +3,6 @@
CFLAGS += -fPIC -DMT_ENABLED
LDFLAGS += -lpthread
ifeq ($(ASM_ARCH), x86)
-ASMFLAGS += -DNOPREFIX
ifeq ($(ENABLE64BIT), Yes)
ASMFLAGS += -f elf64
else
--- a/build/platform-linux.mk
+++ b/build/platform-linux.mk
@@ -3,7 +3,6 @@
CFLAGS += -Werror -fPIC -DLINUX -DMT_ENABLED -MMD -MP
LDFLAGS += -lpthread
ifeq ($(ASM_ARCH), x86)
-ASMFLAGS += -DNOPREFIX
ifeq ($(ENABLE64BIT), Yes)
ASMFLAGS += -f elf64
else