gnu: cross-base: Make the libc static-bash bug more apparent.
The 'static-bash' input of cross libcs has always been compiled natively. This patch makes the issue more visible. * gnu/packages/cross-base.scm (cross-libc): Add 'inputs' field, and add (package-inputs glibc) to 'native-inputs'.
This commit is contained in:
		
							parent
							
								
									25d5b708a6
								
							
						
					
					
						commit
						12b0dbd472
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -298,8 +298,13 @@ XBINUTILS and the cross tool chain."
 | 
				
			||||||
    ;; "linux-headers" input to point to the right thing.
 | 
					    ;; "linux-headers" input to point to the right thing.
 | 
				
			||||||
    (propagated-inputs `(("linux-headers" ,xlinux-headers)))
 | 
					    (propagated-inputs `(("linux-headers" ,xlinux-headers)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    ;; FIXME: 'static-bash' should really be an input, not a native input, but
 | 
				
			||||||
 | 
					    ;; to do that will require building an intermediate cross libc.
 | 
				
			||||||
 | 
					    (inputs '())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    (native-inputs `(("cross-gcc" ,xgcc)
 | 
					    (native-inputs `(("cross-gcc" ,xgcc)
 | 
				
			||||||
                     ("cross-binutils" ,xbinutils)
 | 
					                     ("cross-binutils" ,xbinutils)
 | 
				
			||||||
 | 
					                     ,@(package-inputs glibc)     ;FIXME: static-bash
 | 
				
			||||||
                     ,@(package-native-inputs glibc)))))
 | 
					                     ,@(package-native-inputs glibc)))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue