summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/008-distutils-use-python-sysroot.patch
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-04-27 14:10:53 +0800
committerJeffery To <jeffery.to@gmail.com>2020-04-27 14:10:53 +0800
commit9f81ab895eca0709d1a7b4804b36a5cd00b4f368 (patch)
tree2c4fbe3ad0e53969eb0e06959647ce5d0b60f1ff /lang/python/python3/patches/008-distutils-use-python-sysroot.patch
parent231cd05013e5ab23cc92469171e848cfae2e5ce4 (diff)
python3: Fix host build tool names recorded in target files
Python will record the values of CC, CXX, AR, and READELF (and other configure options) used during compilation. pip will use these programs when asked to compile extension modules on the target device. * If ccache is used during build, CC and CXX will be ccache_cc and ccache_cxx, respectively, which are not available on-device (#11912). * If an external toolchain is used during build, the values of these variables will contain the external toolchain prefix, which may not be available on target. * If the normal toolchain is used during build, AR and READELF will contain the toolchain prefix, but the names of ar and readelf on-device do not contain the prefix; they are named "ar" and "readelf". This changes the values of these variables in Python's files to match the names available on-device, and without any toolchain prefix. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python3/patches/008-distutils-use-python-sysroot.patch')
0 files changed, 0 insertions, 0 deletions