~ruther/guix-local

1bd8dadbe46e3ca0559ef46ae2c9a3a008a88027 — Efraim Flashner 3 years ago dbc96f4
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.
1 files changed, 11 insertions(+), 6 deletions(-)

M gnu/packages/bdw-gc.scm
M gnu/packages/bdw-gc.scm => gnu/packages/bdw-gc.scm +11 -6
@@ 64,12 64,17 @@
                                 (%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)