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
This commit is contained in:
Efraim Flashner 2025-08-05 19:38:27 +03:00
parent 4c0e7c296d
commit 329a0dcc71
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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