mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -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 "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
|
||||
|
|
Loading…
Reference in a new issue