[issue27453] Fix cross-compilation with Android NDK and Clang

Chi Hsuan Yen report at bugs.python.org
Tue Jul 5 11:31:50 EDT 2016


Chi Hsuan Yen added the comment:

Several days ago I have once tried to set
CC="clang -target $(TARGET) -gcc-toolchain $(GCC_TOOLCHAIN)", and it failed to build some dependency of Python (I can't remember). Just tried  and everything is OK. Dunno what's changed. Anyway both approaches (-target in $CC/$CXX/$CPP and -target in $CFLAGS/$CXXFLAGS/$CPPFLAGS) should be supported.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27453>
_______________________________________


More information about the Python-bugs-list mailing list