From 2be67421b608e4e358d11a506b64819868e1697c 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 5186929ea9..2b36f3e719 100644 --- a/src/build/toolchain/gcc_toolchain.gni +++ b/src/build/toolchain/gcc_toolchain.gni @@ -591,6 +591,8 @@ template("clang_toolchain") { "default_shlib_subdir", "enable_linker_map", "use_unstripped_as_runtime_outputs", + "extra_cppflags", + "extra_ldflags", ]) toolchain_args = {