gnu: coreutils-boot0: Fix building on armhf-linux.
* gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When building for armhf-linux include the workaround to force 32-bit time. Rearrange arguments so that the configure-flags for armhf-linux aren't overridden.
This commit is contained in:
		
							parent
							
								
									62ff0b9086
								
							
						
					
					
						commit
						37399b18ef
					
				
					 1 changed files with 7 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1999,6 +1999,8 @@ exec " gcc "/bin/" program
 | 
			
		|||
    (arguments
 | 
			
		||||
     `(#:tests? #f
 | 
			
		||||
       #:implicit-inputs? #f
 | 
			
		||||
       #:guile ,%bootstrap-guile
 | 
			
		||||
       ,@(package-arguments coreutils)
 | 
			
		||||
       ;; The %bootstrap-glibc for aarch64 and armhf doesn't have
 | 
			
		||||
       ;; $output/include/linux/prctl.h which causes some binaries
 | 
			
		||||
       ;; to fail to build with coreutils-9.0+.
 | 
			
		||||
| 
						 | 
				
			
			@ -2008,10 +2010,11 @@ exec " gcc "/bin/" program
 | 
			
		|||
                                    ;; the defaults to not install.
 | 
			
		||||
                                    "arch,coreutils,hostname"
 | 
			
		||||
                                    ;; fails due to missing headers.
 | 
			
		||||
                                    ",timeout,sort")))
 | 
			
		||||
           '())
 | 
			
		||||
       #:guile ,%bootstrap-guile
 | 
			
		||||
       ,@(package-arguments coreutils)))))
 | 
			
		||||
                                    ",timeout,sort")
 | 
			
		||||
                                  ,@(if (target-arm32?)
 | 
			
		||||
                                      `("--disable-year2038")
 | 
			
		||||
                                      `())))
 | 
			
		||||
           '())))))
 | 
			
		||||
 | 
			
		||||
(define diffutils-boot0
 | 
			
		||||
  (package
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue