mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: make-torbrowser: Build with Clang.
* gnu/packages/tor-browsers.scm (make-torbrowser) [arguments] <#:phases> 'setenv: Set environment variables corresponding to Clang (AR, NM, CC and CXX). Change-Id: Ib67e2eb7669147a6a304769c9f36b4a90eb35b59
This commit is contained in:
parent
cf15fad31a
commit
04393803a1
1 changed files with 5 additions and 0 deletions
|
@ -506,6 +506,11 @@ Browser.")
|
|||
(add-before 'configure 'setenv
|
||||
(lambda _
|
||||
(setenv "CONFIG_SHELL" (which "bash"))
|
||||
;; Use Clang, Clang is 2x faster than GCC
|
||||
(setenv "AR" "llvm-ar")
|
||||
(setenv "NM" "llvm-nm")
|
||||
(setenv "CC" "clang")
|
||||
(setenv "CXX" "clang++")
|
||||
;; Install location is prefix/lib/$MOZ_APP_NAME. Also
|
||||
;; $MOZ_APP_NAME is the executable name. Default is
|
||||
;; "firefox".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue