New submission from Xavier de Gaye:

The attached patch:

  * Sets the recommended android compilation flags, see:  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:

Python tracker <>
Python-bugs-list mailing list

Reply via email to