Skip to content

Commit

Permalink
Don't pass compiler flags to MSVC assembers.
Browse files Browse the repository at this point in the history
While ml[64] ignores the compiler flags with warnings, armasm[64]
rejects them and fails.
  • Loading branch information
dot-asm committed Sep 22, 2023
1 parent daab924 commit 156e2b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2220,9 +2220,6 @@ impl Build {
if target.contains("i686") || target.contains("i586") {
cmd.arg("-safeseh");
}
for flag in self.flags.iter() {
cmd.arg(&**flag);
}

Ok((cmd, tool.to_string()))
}
Expand Down

0 comments on commit 156e2b3

Please sign in to comment.