mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
dbc96f451c
commit
1bd8dadbe4
1 changed files with 11 additions and 6 deletions
|
@ -64,12 +64,17 @@ (define-public libgc
|
|||
(%current-target-system)))
|
||||
#~("--disable-gcj-support")
|
||||
#~())))
|
||||
(if (target-ppc64le?)
|
||||
(list #:make-flags
|
||||
;; This is a known workaround upstream.
|
||||
;; https://github.com/ivmai/bdwgc/issues/479
|
||||
#~(list "CFLAGS_EXTRA=-DNO_SOFT_VDB"))
|
||||
'())))
|
||||
(cond
|
||||
((target-ppc64le?)
|
||||
(list #:make-flags
|
||||
;; This is a known workaround upstream.
|
||||
;; 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))
|
||||
(propagated-inputs
|
||||
(if (%current-target-system)
|
||||
|
|
Loading…
Reference in a new issue