1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00

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
This commit is contained in:
Janneke Nieuwenhuizen
2025-01-02 18:20:26 +01:00
committed by Andreas Enge
parent ae7e80d8ed
commit 992e27ef85

View File

@@ -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