mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-07-04 22:24:06 +02:00
gnu: python@3.12: Support cross-compilation.
* gnu/packages/python.scm (python-3.12)[arguments]: Pass ‘--with-build-python’ when cross-compiling. Fixes: guix/guix#8827 Merges: guix/guix!8826 Change-Id: Ibaea0cf3250ee0ce0b2d838a4edc30fa1ac59dbc Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
a6c665b575
commit
9873d2c433
@@ -984,7 +984,10 @@ def contents() -> str:
|
||||
#$@(if (%current-target-system)
|
||||
#~("ac_cv_buggy_getaddrinfo=no"
|
||||
"ac_cv_file__dev_ptmx=no"
|
||||
"ac_cv_file__dev_ptc=no")
|
||||
"ac_cv_file__dev_ptc=no"
|
||||
(string-append "--with-build-python="
|
||||
#+(this-package-native-input "python")
|
||||
"/bin/python3"))
|
||||
#~())
|
||||
;; -fno-semantic-interposition reinstates some
|
||||
;; optimizations by gcc leading to around 15% speedup.
|
||||
|
||||
Reference in New Issue
Block a user