Index: build/toolchain/win/BUILD.gn |
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn |
index 4936c3d0cfc883641333be7dca2617b5fa3eadab..d13f5fb96190a04951c214fef8a878e094632a03 100644 |
--- a/build/toolchain/win/BUILD.gn |
+++ b/build/toolchain/win/BUILD.gn |
@@ -115,7 +115,7 @@ template("msvc_toolchain") { |
tool("asm") { |
# TODO(brettw): "/safeseh" assembler argument is hardcoded here. Extract |
# assembler flags to a variable like cflags. crbug.com/418613 |
- command = "$python_path gyp-win-tool asm-wrapper $env ml.exe {{defines}} {{include_dirs}} /safeseh /c /Fo {{output}} {{source}}" |
+ command = "$python_path gyp-win-tool asm-wrapper $env ml.exe {{defines}} {{include_dirs}} {{asmflags}} /c /Fo{{output}} {{source}}" |
jamesr
2015/10/21 00:32:10
why are we patching a windows toolchain file?
Petr Hosek
2015/10/21 02:23:42
Dropped.
|
description = "ASM {{output}}" |
outputs = [ |
"{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.obj", |