From 156e2b3f76277cf20344afaa418f802694cdc928 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 20 Sep 2023 10:41:42 +0200 Subject: [PATCH] Don't pass compiler flags to MSVC assembers. While ml[64] ignores the compiler flags with warnings, armasm[64] rejects them and fails. --- src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f3e921bf4..85a1169cd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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())) }