[vlc-devel] [PATCH] contrib: disable thumb for packages that use ARM-only asm
Rémi Denis-Courmont
remi at remlab.net
Tue Jan 24 08:02:54 CET 2012
This will not work if AAPCS is not in use (and if interworking is not
otherwise forced system-wide).
On Tue, 24 Jan 2012 00:35:47 -0500, Rafaël Carré <funman at videolan.org>
wrote:
> ---
> 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
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list