gnu: bdw-gc: Fix cross-compilation.
* gnu/packages/bdw-gc.scm (libgc)[propagated-inputs]: When cross-compiling, add LIBATOMIC-OPS.
This commit is contained in:
parent
18c3980fb1
commit
a5cfb444d1
1 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,12 @@ (define-public libgc
|
|||
'("--disable-gcj-support")
|
||||
'()))))
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(propagated-inputs
|
||||
(if (%current-target-system)
|
||||
;; The build system refuses to check for compiler intrinsics when
|
||||
;; cross-compiling, and demands using libatomic-ops instead.
|
||||
`(("libatomic-ops" ,libatomic-ops))
|
||||
'()))
|
||||
(outputs '("out" "debug"))
|
||||
(synopsis "The Boehm-Demers-Weiser conservative garbage collector
|
||||
for C and C++")
|
||||
|
|
Loading…
Reference in a new issue