From 4e69cce75acbdaf9cf2933c229908dc910f29a9f Mon Sep 17 00:00:00 2001 From: David Wagner Date: Wed, 22 Apr 2015 12:10:03 +0200 Subject: android/python bindings: force gcc and 32bits compilation Since Android only provides a 32bits version of the python interpreter and libs, we need to compile for 32bits even on 64bits hosts. Also, since it seems that clang is the default compiler for host, we need to explicitely forbid it as long as the parameter-framework is compiled with gcc. Change-Id: I5d484c0e58c304680192f443acd81258de179e52 Signed-off-by: David Wagner --- bindings/python/Android.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bindings') diff --git a/bindings/python/Android.mk b/bindings/python/Android.mk index 0558344..977ffb7 100644 --- a/bindings/python/Android.mk +++ b/bindings/python/Android.mk @@ -38,6 +38,11 @@ include $(CLEAR_VARS) LOCAL_MODULE := _PyPfw LOCAL_CPP_EXTENSION := .cxx +# As long as the parameter-framework is compiled with gcc, we must avoid +# compiling the bindings with clang and compile with gcc instead. +LOCAL_CLANG := false +# Android only provides a 32bit version of python. +LOCAL_32_BIT_ONLY := true LOCAL_SHARED_LIBRARIES := libparameter_host LOCAL_STATIC_LIBRARIES := libxmlserializer_host -- cgit v1.1