all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51008] [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10
@ 2021-10-04 13:51 Josselin Poiret
  2021-10-04 14:11 ` bug#51008: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Josselin Poiret @ 2021-10-04 13:51 UTC (permalink / raw)
  To: 51008

-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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#51008: [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10
  2021-10-04 13:51 [bug#51008] [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10 Josselin Poiret
@ 2021-10-04 14:11 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2021-10-04 14:11 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: 51008-done


> * gnu/packages/linux.scm (light): Add -fcommon compile flag.

Added your copyright and pushed,

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-04 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 13:51 [bug#51008] [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10 Josselin Poiret
2021-10-04 14:11 ` bug#51008: " Mathieu Othacehe

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.