diff options
| author | Tianling Shen <cnsztl@immortalwrt.org> | 2023-10-11 21:03:33 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-11 21:03:33 +0800 |
| commit | 175271940e96101093c9a76b4aaf05ca8a28f3ac (patch) | |
| tree | efcd6638efde591c3656720f9fc35af8f8d66490 /lang/python/python3-package.mk | |
| parent | 5167111691e56857cd1d36a24d65a512fc15a412 (diff) | |
| parent | 29ca9797a66f7e4d2ae40d26b91f3d1c2982a744 (diff) | |
Merge pull request #22339 from jefferyto/rust-build-performance
rust: Improve build performance
Diffstat (limited to 'lang/python/python3-package.mk')
| -rw-r--r-- | lang/python/python3-package.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/python/python3-package.mk b/lang/python/python3-package.mk index 0693d21ee..3300f1bea 100644 --- a/lang/python/python3-package.mk +++ b/lang/python/python3-package.mk @@ -45,11 +45,9 @@ PYTHON3_VARS = \ _python_sysroot="$(STAGING_DIR)" \ _python_prefix="/usr" \ _python_exec_prefix="/usr" \ - CARGO_BUILD_TARGET="$(RUSTC_TARGET_ARCH)" \ - CARGO_HOME="$(CARGO_HOME)" \ - PATH="$(CARGO_HOME)/bin:$(PATH)" \ + $(CARGO_PKG_CONFIG_VARS) \ PYO3_CROSS_LIB_DIR="$(PYTHON3_LIB_DIR)" \ - RUSTFLAGS="$(CARGO_RUSTFLAGS)" + SETUPTOOLS_RUST_CARGO_PROFILE="$(CARGO_PKG_PROFILE)" # $(1) => directory of python script # $(2) => python script and its arguments |
