build: Pass extra flags to gcc toolchains

This commit is contained in:
klzgrad 2020-02-06 03:07:12 +08:00
parent 2c3cafb500
commit 93b4ea9434

View File

@ -653,6 +653,9 @@ template("clang_toolchain") {
"default_shlib_subdir", "default_shlib_subdir",
"enable_linker_map", "enable_linker_map",
"use_unstripped_as_runtime_outputs", "use_unstripped_as_runtime_outputs",
"extra_cppflags",
"extra_ldflags",
"extra_asmflags",
]) ])
toolchain_args = { toolchain_args = {