me
/
guix
Archived
1
0
Fork 0

gnu: bdw-gc: Fix cross-compilation.

* gnu/packages/bdw-gc.scm (libgc)[propagated-inputs]: When cross-compiling,
add LIBATOMIC-OPS.
master
Marius Bakke 2020-03-28 08:57:29 +01:00
parent 18c3980fb1
commit a5cfb444d1
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,12 @@
'("--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++")