New submission from Xavier de Gaye:

The attached patch:

  * Sets the recommended android compilation flags, see: 
http://developer.android.com/ndk/guides/standalone_toolchain.html#abi.  Note 
that the android toolchains already set the -fpic flag, as shown with:

    arm-linux-androideabi-gcc -v -S main.c 2>&1 | grep main.c

  * Sets the Position independent executables (PIE) flag which is mandatory 
starting at API level 21 and supported starting with API level 16.

----------
components: Cross-Build
files: build-flags.patch
keywords: patch
messages: 264266
nosy: Alex.Willmer, xdegaye
priority: normal
severity: normal
status: open
title: android compilation and link flags
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file42601/build-flags.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26851>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to