diff options
author | Tom Anderson <thomasanderson@chromium.org> | 2019-03-13 11:31:56 -0700 |
---|---|---|
committer | Thomas Anderson <thomasanderson@chromium.org> | 2019-03-13 18:55:18 +0000 |
commit | 821a34b61f6996492d1c664de2d09dd569906c5b (patch) | |
tree | 21bc45009aa62a75ce564355c0dd056b07d9f2c8 | |
parent | 4ee6a69ce33be1e96fd3c44a6e3ae3d8177453da (diff) | |
download | nasm-821a34b61f6996492d1c664de2d09dd569906c5b.tar.gz |
Add no_default_deps to nasm executable
nasm doesn't have any C++ dependencies, so omit linking in libc++ by
adding no_defualt_deps=true. This also fixes a link error on Windows/
static/use_custom_libcxx=true builds (see [1] for more context).
[1] https://chromium-review.googlesource.com/c/chromium/src/+/1521275
BUG=801780
R=davidben
Change-Id: Ie60ac7d5116d08ab83e9bfe9848b06407a9aaa9c
-rw-r--r-- | BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -97,6 +97,8 @@ if (current_toolchain == host_toolchain) { configs += configs_to_add configs += [ ":nasm_config" ] + no_default_deps = true + deps = [ # Default manifest on Windows (a no-op elsewhere). "//build/win:default_exe_manifest", |