[vlc-devel] [PATCH] contrib: disable thumb for packages that use ARM-only asm

Rafaël Carré funman at videolan.org
Tue Jan 24 06:35:47 CET 2012


---
 contrib/src/main.mak |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index b810887..29c93ac 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -92,6 +92,10 @@ STRIP := $(HOST)-strip
 endif
 endif
 
+ifeq ($(ARCH),arm)
+NOTHUMB=-mno-thumb
+endif
+
 ifdef HAVE_ANDROID
 CC :=  $(HOST)-gcc --sysroot=$(ANDROID_NDK)/platforms/android-9/arch-arm
 CXX := $(HOST)-g++ --sysroot=$(ANDROID_NDK)/platforms/android-9/arch-arm
-- 
1.7.8.3



More information about the vlc-devel mailing list