From 3d0e43fe4d700c47263f3365b95da287b07e5a98 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Thu, 6 Feb 2020 03:07:12 +0800 Subject: [PATCH] build: Pass extra flags to gcc toolchains --- src/build/toolchain/gcc_toolchain.gni | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/build/toolchain/gcc_toolchain.gni b/src/build/toolchain/gcc_toolchain.gni index 5673947b2b..27241d3abe 100644 --- a/src/build/toolchain/gcc_toolchain.gni +++ b/src/build/toolchain/gcc_toolchain.gni @@ -603,6 +603,8 @@ template("clang_toolchain") { "default_shlib_subdir", "enable_linker_map", "use_unstripped_as_runtime_outputs", + "extra_cppflags", + "extra_ldflags", ]) toolchain_args = {