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:
Marius Bakke 2022-11-17 07:23:04 +01:00
parent 65976a8382
commit 28074f1e09
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -758,13 +758,6 @@ (define-public ungoogled-chromium
(setenv "AR" "llvm-ar") (setenv "NM" "llvm-nm")
(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.
(setenv "PYTHONDONTWRITEBYTECODE" "1")
@ -888,10 +881,10 @@ (define-public ungoogled-chromium
'("24" "48" "64" "128" "256")))))))))
(native-inputs
(list bison
clang-14
clang-15
gn
gperf
lld-as-ld-wrapper
lld-as-ld-wrapper-15
ninja
node-lts
pkg-config