emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51008: closed ([PATCH core-updates-frozen] gnu: light: Fix compilati


From: GNU bug Tracking System
Subject: bug#51008: closed ([PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10)
Date: Mon, 04 Oct 2021 14:13:01 +0000

Your message dated Mon, 04 Oct 2021 14:11:58 +0000
with message-id <877desev69.fsf@gnu.org>
and subject line Re: bug#51008: [PATCH core-updates-frozen] gnu: light: Fix 
compilation with GCC 10
has caused the debbugs.gnu.org bug report #51008,
regarding [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51008: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51008
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10 Date: Mon, 04 Oct 2021 13:51:37 +0000
-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





--- End Message ---
--- Begin Message --- Subject: Re: bug#51008: [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10 Date: Mon, 04 Oct 2021 14:11:58 +0000 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
> * gnu/packages/linux.scm (light): Add -fcommon compile flag.

Added your copyright and pushed,

Thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]