gnu: hurd: Use a 32-bit MiG when cross-compiling.
* gnu/packages/hurd.scm (hurd)[native-inputs]: When '%current-target-system' is true, pass #:system "i686-linux" to 'mig'.
This commit is contained in:
		
							parent
							
								
									7aad4609ae
								
							
						
					
					
						commit
						09ac892a95
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -370,7 +370,13 @@ boot, since this cannot be done from GNU/Linux." | ||||||
|     (native-inputs |     (native-inputs | ||||||
|      `(("autoconf" ,autoconf) |      `(("autoconf" ,autoconf) | ||||||
|        ("automake" ,automake) |        ("automake" ,automake) | ||||||
|        ("mig" ,mig) |        ("mig" ,(if (%current-target-system) | ||||||
|  |                    ;; XXX: When targeting i586-pc-gnu, we need a 32-bit MiG, | ||||||
|  |                    ;; hence this hack. | ||||||
|  |                    (package | ||||||
|  |                      (inherit mig) | ||||||
|  |                      (arguments `(#:system "i686-linux"))) | ||||||
|  |                    mig)) | ||||||
|        ("perl" ,perl) |        ("perl" ,perl) | ||||||
|        ("texinfo" ,texinfo-4))) |        ("texinfo" ,texinfo-4))) | ||||||
|     (supported-systems %hurd-systems) |     (supported-systems %hurd-systems) | ||||||
|  |  | ||||||
		Reference in a new issue