From 329a0dcc714d4b8f0a0580ecfa979b6f8d678642 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 5 Aug 2025 19:38:27 +0300 Subject: [PATCH] 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 --- gnu/packages/linux.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 8dc546ad6926135222070027e0fac919ec5fea14..9668e078a8221b64520c0d95431f0de68ea310c4 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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