From 72d80d6fd3d66fa77f8f3a59fd41215d9a23c753 Mon Sep 17 00:00:00 2001 From: Andrew Savage Date: Thu, 24 Oct 2024 14:48:18 -0400 Subject: [PATCH] Propagate starboard configs to Chromium on linux (#4301) Fixes linux builds with targets using starboard b/365546355 --- starboard/linux/x64x11/toolchain/BUILD.gn | 1 + starboard/shared/toolchain/overridable_gcc_toolchain.gni | 1 + 2 files changed, 2 insertions(+) diff --git a/starboard/linux/x64x11/toolchain/BUILD.gn b/starboard/linux/x64x11/toolchain/BUILD.gn index 8c9fcf5e83cc5..d8ad2055b6351 100644 --- a/starboard/linux/x64x11/toolchain/BUILD.gn +++ b/starboard/linux/x64x11/toolchain/BUILD.gn @@ -24,6 +24,7 @@ overridable_clang_toolchain("starboard") { clang_use_chrome_plugins = false enable_check_raw_ptr_fields = false } + propagates_configs = true } overridable_clang_toolchain("cobalt") { diff --git a/starboard/shared/toolchain/overridable_gcc_toolchain.gni b/starboard/shared/toolchain/overridable_gcc_toolchain.gni index 125f4052eff66..606e0019f6b28 100644 --- a/starboard/shared/toolchain/overridable_gcc_toolchain.gni +++ b/starboard/shared/toolchain/overridable_gcc_toolchain.gni @@ -132,6 +132,7 @@ template("overridable_clang_toolchain") { "default_shlib_subdir", "enable_linker_map", "use_unstripped_as_runtime_outputs", + "propagates_configs", ]) toolchain_args = {