mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: ungoogled-chromium: Build with Clang 15.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Remove obsolete compiler flags. [native-inputs]: Change from CLANG-14 and LLD-AS-LD-WRAPPER to CLANG-15 and LLD-AS-LD-WRAPPER-15.
This commit is contained in:
parent
65976a8382
commit
28074f1e09
1 changed files with 2 additions and 9 deletions
|
@ -758,13 +758,6 @@ (define-public ungoogled-chromium
|
||||||
(setenv "AR" "llvm-ar") (setenv "NM" "llvm-nm")
|
(setenv "AR" "llvm-ar") (setenv "NM" "llvm-nm")
|
||||||
(setenv "CC" "clang") (setenv "CXX" "clang++")
|
(setenv "CC" "clang") (setenv "CXX" "clang++")
|
||||||
|
|
||||||
;; Disable compiler flags that require Clang 15.
|
|
||||||
(substitute* "build/config/compiler/BUILD.gn"
|
|
||||||
(("\"-Wno-unqualified-std-cast-call\"")
|
|
||||||
"")
|
|
||||||
(("\"-Wno-deprecated-builtins\",")
|
|
||||||
""))
|
|
||||||
|
|
||||||
;; TODO: pre-compile instead. Avoids a race condition.
|
;; TODO: pre-compile instead. Avoids a race condition.
|
||||||
(setenv "PYTHONDONTWRITEBYTECODE" "1")
|
(setenv "PYTHONDONTWRITEBYTECODE" "1")
|
||||||
|
|
||||||
|
@ -888,10 +881,10 @@ (define-public ungoogled-chromium
|
||||||
'("24" "48" "64" "128" "256")))))))))
|
'("24" "48" "64" "128" "256")))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bison
|
(list bison
|
||||||
clang-14
|
clang-15
|
||||||
gn
|
gn
|
||||||
gperf
|
gperf
|
||||||
lld-as-ld-wrapper
|
lld-as-ld-wrapper-15
|
||||||
ninja
|
ninja
|
||||||
node-lts
|
node-lts
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
Loading…
Reference in a new issue