gnu: bdw-gc: Fix cross-compilation.
* gnu/packages/bdw-gc.scm (libgc)[propagated-inputs]: When cross-compiling, add LIBATOMIC-OPS.master
parent
18c3980fb1
commit
a5cfb444d1
|
@ -56,6 +56,12 @@
|
||||||
'("--disable-gcj-support")
|
'("--disable-gcj-support")
|
||||||
'()))))
|
'()))))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
(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"))
|
(outputs '("out" "debug"))
|
||||||
(synopsis "The Boehm-Demers-Weiser conservative garbage collector
|
(synopsis "The Boehm-Demers-Weiser conservative garbage collector
|
||||||
for C and C++")
|
for C and C++")
|
||||||
|
|
Reference in New Issue