diff options
-rw-r--r-- | gnu/packages/cpp.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index e96a354551..03a8a39ee2 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1484,6 +1484,11 @@ Google's C++ code base.") (search-patches "abseil-cpp-20220623.1-no-kepsilon-i686.patch")))) (arguments (substitute-keyword-arguments (package-arguments base) + ((#:configure-flags flags #~'()) + (if (target-riscv64?) + #~(cons* "-DCMAKE_SHARED_LINKER_FLAGS=-latomic" + #$flags) + flags)) ((#:phases phases) #~(modify-phases #$phases (add-before 'check 'set-env-vars |