From e8298b8cf3f3222ae916c0c21c223e76533fd88a Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 17 Dec 2021 16:12:34 -0500 Subject: gnu: mozjs-60: Use quasiquote, addressing TODO. * gnu/packages/gnuzilla.scm (mozjs-60)[configure-flags]: Use quasiquote. --- gnu/packages/gnuzilla.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gnu/packages/gnuzilla.scm') diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index d400465041..59b526bb73 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -369,10 +369,7 @@ in C/C++.") `(#:tests? #f ; FIXME: all tests pass, but then the check phase fails anyway. #:test-target "check-jstests" #:configure-flags - ;; TODO(core-updates): unconditionally use 'quasiquote - ,#~(#$(if (%current-target-system) - #~quasiquote - #~quote) + ,#~(quasiquote ("--enable-ctypes" "--enable-optimize" "--enable-pie" -- cgit 1.4.1 From cdb2b115a874a7ab0be85963dd1f3005cbd53da0 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 31 Dec 2021 13:59:44 -0500 Subject: gnu: mozjs-78: Disable rust-simd to workaround a build failure. * gnu/packages/gnuzilla.scm (mozjs-78) [configure-flags]: Disable rust-simd to avoid a build failure that occurs when Rust is newer than 1.54.0. --- gnu/packages/gnuzilla.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/gnuzilla.scm') diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 59b526bb73..158213dd98 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -463,7 +463,10 @@ in C/C++.") "--enable-hardening" "--enable-optimize" "--enable-release" - "--enable-rust-simd" + ;; FIXME: rust-simd is disabled otherwise the build fails with + ;; "error: `[u32; 64]` is forbidden as the type of a const generic + ;; parameter". + "--disable-rust-simd" "--enable-readline" "--enable-shared-js" "--with-system-icu" -- cgit 1.4.1