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

commit c7db9ecc4bf414ad41e24cbbc333cc146ad51641
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Thu Jan 2 18:20:26 2025 +0100

    gnu: tbb-2020.3: Fix build with gcc-14.
    
    * gnu/packages/tbb.scm (tbb)[arguments]: Add CXXFLAGS to #:make-flags to 
relax
    gcc-14's strictness.
    
    Change-Id: Ia8a5a609af4b0f7273912f1f3de1bd2f44b2f160
---
 gnu/packages/tbb.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm
index 79a620c2a3..926e9dcad4 100644
--- a/gnu/packages/tbb.scm
+++ b/gnu/packages/tbb.scm
@@ -164,7 +164,10 @@ tasks, synchronization primitives, atomic operations, and 
more.")
      `(#:test-target "test"
        #:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
                                          (assoc-ref %outputs "out") "/lib")
-                          "CFLAGS=-fuse-ld=gold")
+                          "CFLAGS=-fuse-ld=gold"
+                          ,(string-append "CXXFLAGS="
+                                          " -Wno-error=changes-meaning"
+                                          " -Wno-error=template-id-cdtor"))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fail-on-test-errors

Reply via email to