Index: build/config/BUILDCONFIG.gn |
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
index 6390ae91725bc4add79571b2872ba63bf7d5b05b..05728b83b9d3d341de4fbe5ea035cd398d0c4f8b 100644 |
--- a/build/config/BUILDCONFIG.gn |
+++ b/build/config/BUILDCONFIG.gn |
@@ -517,6 +517,10 @@ if (is_debug) { |
default_compiler_configs += [ "//build/config:release" ] |
} |
+# Lastly, add a setting to give toolchains an extra chance to override |
+# flags as needed. |
+default_compiler_configs += [ "//build/config/compiler:extra_flags" ] |
+ |
# Static libraries and source sets use only the compiler ones. |
set_defaults("static_library") { |
configs = default_compiler_configs |