summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2019-02-21 16:35:06 -0800
committerDale Curtis <dalecurtis@chromium.org>2019-02-21 16:35:06 -0800
commit7268fcfbd10140026d1f27fb562e0fc4954d2af9 (patch)
tree3ba16dac4af589e6e1551c152da91f961c9c221a
parent4ee6a69ce33be1e96fd3c44a6e3ae3d8177453da (diff)
downloadnasm-7268fcfbd10140026d1f27fb562e0fc4954d2af9.tar.gz
Propogate all_dependent_configs for nasm_assemble().
Needed by ffmpeg to propogate a "-Wl,-z,notext" flag when building ia32 with use_lld=true. BUG=911658 R=thakis Change-Id: I3d3c1001b3f6089c574ec60f6590362a8fb807b4
-rw-r--r--nasm_assemble.gni4
1 files changed, 4 insertions, 0 deletions
diff --git a/nasm_assemble.gni b/nasm_assemble.gni
index 2ed54491..902a6320 100644
--- a/nasm_assemble.gni
+++ b/nasm_assemble.gni
@@ -156,6 +156,10 @@ template("nasm_assemble") {
visibility = invoker.visibility
}
+ if (defined(invoker.all_dependent_configs)) {
+ all_dependent_configs = invoker.all_dependent_configs
+ }
+
sources = get_target_outputs(":$action_name")
# Do not publicize any header to remove build dependency.