From 93b4ea943443918d928260a5787e00ae22b2ae11 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 2a4c701fae..4ee462404c 100644 --- a/src/build/toolchain/gcc_toolchain.gni +++ b/src/build/toolchain/gcc_toolchain.gni @@ -653,6 +653,9 @@ template("clang_toolchain") { "default_shlib_subdir", "enable_linker_map", "use_unstripped_as_runtime_outputs", + "extra_cppflags", + "extra_ldflags", + "extra_asmflags", ]) toolchain_args = {