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 <rep...@bugs.python.org> <http://bugs.python.org/issue26852> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com