Christian Heimes <li...@cheimes.de> added the comment:
In his code review Eric made a point that the relationship of variables and their impact on normal and cross builds are not obvious. I'm going to introduce new variables for freezing and freezing dependencies. Bonus: Cross builds no longer build non-functional _bootstrap_python and Programs/_freeze_module. Normal build: PYTHON_FOR_FREEZE=./_bootstrap_python FREEZE_MODULE_BOOTSTRAP=./Programs/_freeze_module FREEZE_MODULE_BOOTSTRAP_DEPS=Programs/_freeze_module FREEZE_MODULE=$(PYTHON_FOR_FREEZE) $(srcdir)/Programs/_freeze_module.py FREEZE_MODULE_DEPS=_bootstrap_python $(srcdir)/Programs/_freeze_module.py Cross build: PYTHON_FOR_FREEZE=/path/to/build/python FREEZE_MODULE_BOOTSTRAP=$(PYTHON_FOR_FREEZE) $(srcdir)/Programs/_freeze_module.py FREEZE_MODULE_BOOTSTRAP_DEPS=$(srcdir)/Programs/_freeze_module.py FREEZE_MODULE=$(FREEZE_MODULE_BOOTSTRAP) FREEZE_MODULE_DEPS=$(FREEZE_MODULE_BOOTSTRAP_DEPS) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45949> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com