gnu: commencement: findutils-boot0: Build fix for ARM.
* gnu/packages/commencement.scm (findutils-boot0)[arm-linux, aarch64-linux]: Configure with --disable-dependency-tracking. Fixes build on arm/Aarch64.master
parent
70a27b445e
commit
b6aedea9cc
|
@ -2584,12 +2584,17 @@ exec " gcc "/bin/" program
|
||||||
|
|
||||||
;; The build system assumes we have done a mistake when time_t is 32-bit
|
;; The build system assumes we have done a mistake when time_t is 32-bit
|
||||||
;; on a 64-bit system. Ignore that for our bootstrap toolchain.
|
;; on a 64-bit system. Ignore that for our bootstrap toolchain.
|
||||||
,@(if (target-64bit?)
|
,@(substitute-keyword-arguments (package-arguments findutils)
|
||||||
(substitute-keyword-arguments (package-arguments findutils)
|
((#:configure-flags flags ''())
|
||||||
((#:configure-flags flags ''())
|
`(append
|
||||||
`(cons "TIME_T_32_BIT_OK=yes"
|
,(if (target-64bit?)
|
||||||
,flags)))
|
''("TIME_T_32_BIT_OK=yes")
|
||||||
(package-arguments findutils))))))
|
''())
|
||||||
|
,(match (%current-system)
|
||||||
|
((or "arm-linux" "aarch64-linux")
|
||||||
|
''("--disable-dependency-tracking"))
|
||||||
|
(_ ''()))
|
||||||
|
,flags)))))))
|
||||||
|
|
||||||
(define file
|
(define file
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue