guix-commits
[Top][All Lists]
Advanced

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

43/75: gnu: gn: Fix build with gcc-14.


From: guix-commits
Subject: 43/75: gnu: gn: Fix build with gcc-14.
Date: Sun, 15 Dec 2024 18:06:37 -0500 (EST)

janneke pushed a commit to branch core-packages-team-old
in repository guix.

commit e92bc6d1dbe65260f84ee0696480ff5680b114e6
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Dec 11 14:35:11 2024 +0100

    gnu: gn: Fix build with gcc-14.
    
    * gnu/packages/gnome.scm (gamin)[arguments]: In phase 
`set-build-environment'
    set CXXFLAGS to relax gcc-14's strictness.
    
    Change-Id: I1e8a91aa036b1f9d0f8297eead0872f313f72146
---
 gnu/packages/build-tools.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 319a1d0431..ee12a8cc38 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2022, 2023 Juliana Sims <juli@incana.org>
 ;;; Copyright © 2024 Evgeny Pisemsky <mail@pisemsky.site>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -245,6 +246,7 @@ programs and other files depend.")
                    (lambda _
                      (setenv "CC" "gcc")
                      (setenv "CXX" "g++")
+                     (setenv "CXXFLAGS" "-g -O2 -Wno-error=redundant-move")
                      (setenv "AR" "ar")))
                  (replace 'configure
                    (lambda _



reply via email to

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