all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Josselin Poiret <dev@jpoiret.xyz>
To: 51008@debbugs.gnu.org
Subject: [bug#51008] [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10
Date: Mon, 04 Oct 2021 13:51:37 +0000	[thread overview]
Message-ID: <hgq1Wr1xqNyqV1QbAPsvrWg8_eT4FKSiVXvBnhdk-ZLFoc4Syhmm10PUOMN8pSj150B_TBc8hXtsiJZ97Va8ek9kEDbRGvGMBVOGVTL8ujc=@jpoiret.xyz> (raw)

-fno-common is default in GCC 10, which resulted in build failures.

* gnu/packages/linux.scm (light): Add -fcommon compile flag.
---
 gnu/packages/linux.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a919183068..756f9387c6 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6842,7 +6842,8 @@ monitoring tools for Linux.  These include @code{mpstat}, @code{iostat},
        (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags '("CFLAGS=-fcommon")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-udev-rules-absolute-path-bins
            (lambda* (#:key inputs #:allow-other-keys)
--
2.33.0






             reply	other threads:[~2021-10-04 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 13:51 Josselin Poiret [this message]
2021-10-04 14:11 ` bug#51008: [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10 Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hgq1Wr1xqNyqV1QbAPsvrWg8_eT4FKSiVXvBnhdk-ZLFoc4Syhmm10PUOMN8pSj150B_TBc8hXtsiJZ97Va8ek9kEDbRGvGMBVOGVTL8ujc=@jpoiret.xyz' \
    --to=dev@jpoiret.xyz \
    --cc=51008@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.