Skip to content

Commit

Permalink
meta-chromium: build/config/compiler/BUILD.gn: Disable external-clangrt
Browse files Browse the repository at this point in the history
Disable external-clangrt feature as it's not support by the current
clang toolchain version.

Signed-off-by: Ariel D'Alessandro <[email protected]>
  • Loading branch information
adalessandro committed Dec 18, 2024
1 parent f7e4614 commit e60d932
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions meta-chromium/recipes-browser/chromium/chromium-gn.inc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ SRC_URI += "\
file://0010-Don-t-require-profiler_builtins.rlib.patch \
file://0011-Disable-crabbyavif-to-fix-build-errors.patch \
file://0012-Revert-Allow-and-use-std-hardware_destructive_interf.patch \
file://0013-build-config-compiler-BUILD.gn-Disable-external-clan.patch \
"
# ARM/AArch64-specific patches.
SRC_URI:append:aarch64 = "${@bb.utils.contains('TUNE_FEATURES', 'crypto', '', ' file://arm/0001-Fix-AES-crypto-SIGILL-on-rpi4-64.patch', d)}"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From 942c27a4a5fd53edde9c2ef2a6ae41009b5a62c6 Mon Sep 17 00:00:00 2001
From: Ariel D'Alessandro <[email protected]>
Date: Thu, 31 Oct 2024 14:59:09 -0300
Subject: [PATCH] build/config/compiler/BUILD.gn: Disable external-clangrt

Disable external-clangrt feature as it's not support by the current
clang toolchain version.

Signed-off-by: Ariel D'Alessandro <[email protected]>
---
build/config/compiler/BUILD.gn | 3 ---
1 file changed, 3 deletions(-)

diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index c5949310d7b3a..38b1211e65b99 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1023,9 +1023,6 @@ config("compiler") {
# For deterministic builds, keep the local machine's current working
# directory from appearing in build outputs.
"-Zremap-cwd-prefix=.",
-
- # We use clang-rt sanitizer runtimes.
- "-Zexternal-clangrt",
]

if (!is_win || force_rustc_color_output) {
--
2.45.2

0 comments on commit e60d932

Please sign in to comment.