unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob aa25a401c5062f1f1a52849b88c4ecb399c9dae0 672 bytes (raw)
name: packages/patches/python-3-hurd-configure.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"

debug log:

solving aa25a401c5062f1f1a52849b88c4ecb399c9dae0 ...
found aa25a401c5062f1f1a52849b88c4ecb399c9dae0 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).