From 811b9b050ecc392e1e15c81089fba0924b0102ad Mon Sep 17 00:00:00 2001 From: Jonathan Brielmaier Date: Mon, 17 Jan 2022 17:03:50 +0100 Subject: gnu: icedove: Build with LLVM and clang. This improves the performance quite a bit. * gnu/packages/gnuzilla.scm (icedove)[arguments]: setenv's for LLVM and clang. [native-inputs]: Switch to version 11 of `clang` and `llvm` like Icecat does. --- gnu/packages/gnuzilla.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index cda41041f6..a9b5ed9fe9 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1472,7 +1472,12 @@ standards of the IceCat project.") (string-append (getcwd) "/mach_state")) (setenv "MOZCONFIG" (string-append (getcwd) "/.mozconfig")) - (setenv "CC" "gcc") + + (setenv "AR" "llvm-ar") + (setenv "NM" "llvm-nm") + (setenv "CC" "clang") + (setenv "CXX" "clang++") + (setenv "MOZ_NOSPAM" "1") (setenv "MACH_USE_SYSTEM_PYTHON" "1") (setenv "PYTHON" @@ -1623,8 +1628,8 @@ standards of the IceCat project.") (base32 "0aj8a8qbm71n34yi58y04bn4h9zz2rciz0cm3hh58rsmcqs1s9ym"))))) ("cargo" ,rust "cargo") - ("clang" ,clang) - ("llvm" ,llvm) + ("clang" ,clang-11) + ("llvm" ,llvm-11) ("m4" ,m4) ("nasm" ,nasm) ("node" ,node) -- cgit v1.2.3