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.
This commit is contained in:
Jonathan Brielmaier 2022-01-17 17:03:50 +01:00
parent 661bf2f518
commit 811b9b050e
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -1472,7 +1472,12 @@ (define-public icedove
(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 @@ (define-public icedove
(base32
"0aj8a8qbm71n34yi58y04bn4h9zz2rciz0cm3hh58rsmcqs1s9ym")))))
("cargo" ,rust "cargo")
("clang" ,clang)
("llvm" ,llvm)
("clang" ,clang-11)
("llvm" ,llvm-11)
("m4" ,m4)
("nasm" ,nasm)
("node" ,node)