[New-bugs-announce] [issue26852] add a COMPILEALL_FLAGS Makefile variable
Xavier de Gaye
report at bugs.python.org
Tue Apr 26 08:43:31 EDT 2016
New submission from Xavier de Gaye:
Add a COMPILEALL_FLAGS Makefile variable to allow setting this flag to have legacy locations for byte-code files and save space on mobile devices.
Patch attached.
The '-E' python command line option added to $(PYTHON_FOR_BUILD) in the patch is fixing a problem that should actually be entered in another issue. When cross-compiling, the PYTHON_FOR_BUILD command sets PYTHONPATH to the location of the cross-compiled shared libraries of the extension modules. So the compilation of modules that import extension modules fail without '-E'.
----------
components: Cross-Build
files: compileall-flags.patch
keywords: patch
messages: 264272
nosy: Alex.Willmer, xdegaye
priority: normal
severity: normal
status: open
title: add a COMPILEALL_FLAGS Makefile variable
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file42603/compileall-flags.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26852>
_______________________________________
More information about the New-bugs-announce
mailing list