From bb1fe077be3c8daa4184db1e7b3a517b8d3f4106 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/build/toolchain/gcc_toolchain.gni b/src/build/toolchain/gcc_toolchain.gni index 06854b73f0..2be6172f04 100644 --- a/src/build/toolchain/gcc_toolchain.gni +++ b/src/build/toolchain/gcc_toolchain.gni @@ -603,6 +603,9 @@ template("clang_toolchain") { "default_shlib_subdir", "enable_linker_map", "use_unstripped_as_runtime_outputs", + "extra_cppflags", + "extra_ldflags", + "extra_asmflags", ]) toolchain_args = {