~ruther/guix-local

329a0dcc714d4b8f0a0580ecfa979b6f8d678642 — Efraim Flashner 11 months ago 4c0e7c2
gnu: iproute: Fix building on powerpc64le-linux.

* gnu/packages/linux.scm (iproute)[arguments]: When building for
powerpc64le-linux adjust the flags passed to the C compiler.

Change-Id: I7dd4a8282fa59d16ce629f185069107cfd89a3a4
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +4 -1
@@ 4258,7 4258,10 @@ that the Ethernet protocol is much simpler than the IP protocol.")
                (string-append "HDRDIR=" out "/include")
                (string-append "SBINDIR=" out "/sbin")
                (string-append "CONFDIR=" out "/etc")
                (string-append "MANDIR=" out "/share/man")))
                (string-append "MANDIR=" out "/share/man")
                #$@(if (target-ppc64le?)
                       '("CCOPTS=-O2 -pipe -Wno-incompatible-pointer-types")
                       '())))
      #:phases
      #~(modify-phases %standard-phases
          (replace 'configure