mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: python: Add missing patch.
This is a follow-up to commit 5319f716cf
.
Reported by efraim via IRC.
* gnu/packages/patches/python-3-hurd-configure.patch: New file.
This commit is contained in:
parent
5319f716cf
commit
677ce39831
1 changed files with 27 additions and 0 deletions
27
gnu/packages/patches/python-3-hurd-configure.patch
Normal file
27
gnu/packages/patches/python-3-hurd-configure.patch
Normal file
|
@ -0,0 +1,27 @@
|
|||
Upstream status: Not upstreamed.
|
||||
|
||||
The build system refuses to cross-compile for unknown targets
|
||||
even though it works fine. Add GNU/Hurd target.
|
||||
|
||||
--- Python-3.8.5/configure.orig 2020-10-26 14:06:09.665423525 +0100
|
||||
+++ Python-3.8.5/configure 2020-10-26 14:08:30.987765738 +0100
|
||||
@@ -3278,6 +3278,9 @@
|
||||
*-*-vxworks*)
|
||||
ac_sys_system=VxWorks
|
||||
;;
|
||||
+ *-*-gnu)
|
||||
+ ac_sys_system=GNU
|
||||
+ ;;
|
||||
*)
|
||||
# for now, limit cross builds to known configurations
|
||||
MACHDEP="unknown"
|
||||
@@ -3328,6 +3331,9 @@
|
||||
*-*-vxworks*)
|
||||
_host_cpu=$host_cpu
|
||||
;;
|
||||
+ *-*-gnu)
|
||||
+ _host_cpu=$host_cpu
|
||||
+ ;;
|
||||
*)
|
||||
# for now, limit cross builds to known configurations
|
||||
MACHDEP="unknown"
|
Loading…
Reference in a new issue