mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cppdap: Fix build on riscv64-linux.
* gnu/packages/debug.scm (cppdap)[arguments]: When building for riscv64-linux add a configure-flag to link with latomic. Change-Id: I1ff388ac5551270b8c12fa6a62231a86200e024a
This commit is contained in:
parent
d0c1c5b9ac
commit
c072428ed7
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2014, 2015, 2016, 2017, 2019-2022 Eric Bavier <bavier@posteo.net>
|
;;; Copyright © 2014, 2015, 2016, 2017, 2019-2022 Eric Bavier <bavier@posteo.net>
|
||||||
;;; Copyright © 2016, 2017, 2018, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016-2018, 2020, 2021, 2025 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
||||||
;;; Copyright © 2019 Pkill -9 <pkill9@runbox.com>
|
;;; Copyright © 2019 Pkill -9 <pkill9@runbox.com>
|
||||||
|
@ -220,7 +220,10 @@ tools that process C/C++ code.")
|
||||||
;; Only one of the following three can be enabled at the same time
|
;; Only one of the following three can be enabled at the same time
|
||||||
;; "-DCPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE=ON"
|
;; "-DCPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE=ON"
|
||||||
;; "-DCPPDAP_USE_EXTERNAL_JSONCPP_PACKAGE=ON"
|
;; "-DCPPDAP_USE_EXTERNAL_JSONCPP_PACKAGE=ON"
|
||||||
"-DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON")))
|
"-DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON"
|
||||||
|
#$@(if (target-riscv64?)
|
||||||
|
'("-DCMAKE_EXE_LINKER_FLAGS=-latomic")
|
||||||
|
'()))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list googletest))
|
(list googletest))
|
||||||
;; see lib/cmake/cppdap/cppdapConfig.cmake
|
;; see lib/cmake/cppdap/cppdapConfig.cmake
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue