summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-build_toolchain_gcc__toolchain.gni')
-rw-r--r--www/chromium/files/patch-build_toolchain_gcc__toolchain.gni7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni b/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni
index fbdf61db220d..e941d6a67687 100644
--- a/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni
+++ b/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni
@@ -1,10 +1,11 @@
---- build/toolchain/gcc_toolchain.gni.orig 2022-03-06 09:37:52 UTC
+--- build/toolchain/gcc_toolchain.gni.orig 2022-03-16 08:38:25 UTC
+++ build/toolchain/gcc_toolchain.gni
-@@ -53,6 +53,12 @@ if (enable_resource_allowlist_generation) {
+@@ -53,6 +53,13 @@ if (enable_resource_allowlist_generation) {
"enable_resource_allowlist_generation=true does not work for target_os=$target_os")
}
+declare_args() {
++ extra_cflags = ""
+ extra_cppflags = ""
+ extra_cxxflags = ""
+ extra_ldflags = ""
@@ -13,7 +14,7 @@
# This template defines a toolchain for something that works like gcc
# (including clang).
#
-@@ -747,13 +753,12 @@ template("gcc_toolchain") {
+@@ -747,13 +754,12 @@ template("gcc_toolchain") {
# use_gold too.
template("clang_toolchain") {
gcc_toolchain(target_name) {