aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gnuzilla.scm
diff options
context:
space:
mode:
authorJonathan Brielmaier <jonathan.brielmaier@web.de>2022-01-17 17:03:50 +0100
committerJonathan Brielmaier <jonathan.brielmaier@web.de>2022-01-22 20:53:39 +0100
commit811b9b050ecc392e1e15c81089fba0924b0102ad (patch)
tree7407f5d5e840b5cda98da67ec31d1c36b660e15d /gnu/packages/gnuzilla.scm
parent661bf2f518b06cda52d50f582469ebeec517f76f (diff)
downloadguix-811b9b050ecc392e1e15c81089fba0924b0102ad.tar
guix-811b9b050ecc392e1e15c81089fba0924b0102ad.tar.gz
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.
Diffstat (limited to 'gnu/packages/gnuzilla.scm')
-rw-r--r--gnu/packages/gnuzilla.scm11
1 files changed, 8 insertions, 3 deletions
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)