From 2da61459fa43edd763bf63e86f2d816e4fa235d9 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 744c78cbdd..2ab9fb99f7 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 = {