diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-08-31 10:25:24 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-05-30 15:18:17 +0300 |
commit | 19e1045352d33ae8074b0a6e891bfd4f6d95c134 (patch) | |
tree | 000547be562522fad39177593ed65411af42ca9e /gnu | |
parent | 69b27be15d1801b994bafa4c4cc01c790a27b5a8 (diff) | |
download | guix-19e1045352d33ae8074b0a6e891bfd4f6d95c134.tar guix-19e1045352d33ae8074b0a6e891bfd4f6d95c134.tar.gz |
gnu: nss: Adjust make-flags for riscv64-linux.
* gnu/packages/nss.scm (nss)[arguments]: When building for riscv64-linux
don't build the binaries with gtest.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/nss.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index aae8886095..bf2003d927 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2021 Mark H Weaver <mhw@netris.org> -;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016, 2017, 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org> ;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de> @@ -144,6 +144,11 @@ in the Mozilla clients.") (list "-C" "nss" (string-append "PREFIX=" out) "NSDISTMODE=copy" "NSS_USE_SYSTEM_SQLITE=1" + ;; The gtests fail to compile on riscv64. + ;; Skipping them doesn't affect the test suite. + ,@(if (target-riscv64?) + `("NSS_DISABLE_GTESTS=1") + '()) (string-append "NSPR_INCLUDE_DIR=" nspr "/include/nspr") ;; Add $out/lib/nss to RPATH. (string-append "RPATH=" rpath) |