mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: rttr: Fix build with gcc-14.
* gnu/packages/cpp.scm (rttr): Fix build with gcc-14. [arguments]<#:configure-flags>: Disable unit tests building. Change-Id: Ic9994fa0707ee8db27370be2fb4538ddf2c5650e
This commit is contained in:
parent
1333407987
commit
91710c42f6
1 changed files with 7 additions and 3 deletions
|
|
@ -34,7 +34,7 @@
|
|||
;;; Copyright © 2022, 2023, 2024 Maxim Cournoyer <maxim@guixotic.coop>
|
||||
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
|
||||
;;; Copyright © 2023, 2025 Sughosha <Sughosha@disroot.org>
|
||||
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||
;;; Copyright © 2023, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||
;;; Copyright © 2023 Liliana Marie Prikler <liliana.prikler@gmail.com>
|
||||
;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||||
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
|
||||
|
|
@ -628,7 +628,8 @@ Scalable Vector Graphics (SVG) files.")
|
|||
'(;; No check target. Setting test-target to "unit_test" runs it twice.
|
||||
#:tests? #f
|
||||
#:configure-flags
|
||||
'("-DBUILD_DOCUMENTATION=OFF" "-DBUILD_EXAMPLES=OFF")
|
||||
'("-DBUILD_DOCUMENTATION=OFF" "-DBUILD_EXAMPLES=OFF"
|
||||
"-DBUILD_UNIT_TESTS=OFF")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; library_test fails in chroot.
|
||||
|
|
@ -636,7 +637,10 @@ Scalable Vector Graphics (SVG) files.")
|
|||
(lambda _
|
||||
(substitute* "src/unit_tests/unit_tests.cmake"
|
||||
(("misc/library_test.cpp") ""))
|
||||
#t)))))
|
||||
#t))
|
||||
(add-before 'configure 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv "CXXFLAGS" "-Wno-error=pessimizing-move"))))))
|
||||
(native-inputs (list pkg-config))
|
||||
(home-page "https://github.com/rttrorg/rttr/")
|
||||
(synopsis "C++ Reflection Library")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue