[vlc-devel] [PATCH] contrib: optionally enable interworking thumb

Rafaël Carré funman at videolan.org
Tue Jan 24 18:10:33 CET 2012


---
This version forces -mthumb-interworking

 contrib/bootstrap |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index a4b5410..a9aca41 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -193,6 +193,16 @@ case "${OS}" in
 		;;
 esac
 
+case "${HOST}" in
+    arm*)
+        if [ -n "${THUMB}" ]
+        then
+            add_make "EXTRA_CFLAGS += -mthumb -mthumb-interwork"
+            add_make "NOTHUMB = -mno-thumb"
+        fi
+        ;;
+esac
+
 #
 # Results output
 #
-- 
1.7.8.3



More information about the vlc-devel mailing list