gnu: libgc: Fix building on powerpc-linux.
* gnu/pakcages/bdw-gc.scm (libgc)[arguments]: When building for powerpc-linux add a make-flag to not protect virtual-dirty bits.master
parent
dbc96f451c
commit
1bd8dadbe4
|
@ -64,12 +64,17 @@
|
||||||
(%current-target-system)))
|
(%current-target-system)))
|
||||||
#~("--disable-gcj-support")
|
#~("--disable-gcj-support")
|
||||||
#~())))
|
#~())))
|
||||||
(if (target-ppc64le?)
|
(cond
|
||||||
(list #:make-flags
|
((target-ppc64le?)
|
||||||
;; This is a known workaround upstream.
|
(list #:make-flags
|
||||||
;; https://github.com/ivmai/bdwgc/issues/479
|
;; This is a known workaround upstream.
|
||||||
#~(list "CFLAGS_EXTRA=-DNO_SOFT_VDB"))
|
;; https://github.com/ivmai/bdwgc/issues/479
|
||||||
'())))
|
#~(list "CFLAGS_EXTRA=-DNO_SOFT_VDB")))
|
||||||
|
((target-ppc32?)
|
||||||
|
(list #:make-flags
|
||||||
|
;; Similar to above.
|
||||||
|
#~(list "CFLAGS_EXTRA=-DNO_MPROTECT_VDB")))
|
||||||
|
(else '()))))
|
||||||
(native-inputs (list pkg-config))
|
(native-inputs (list pkg-config))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(if (%current-target-system)
|
(if (%current-target-system)
|
||||||
|
|
Reference in New Issue