aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-11-17 07:23:04 +0100
committerMarius Bakke <marius@gnu.org>2022-11-17 19:11:33 +0100
commit28074f1e09771efe0cbf58610555dc227135d22b (patch)
treefcf36d162cc89b638893d40797f5cf063377f619
parent65976a8382678cd983ceddde040b777cba1f1be9 (diff)
downloadguix-28074f1e09771efe0cbf58610555dc227135d22b.tar
guix-28074f1e09771efe0cbf58610555dc227135d22b.tar.gz
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.
-rw-r--r--gnu/packages/chromium.scm11
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 4556768dc7..e3deed573a 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -758,13 +758,6 @@
(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 @@
'("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