diff --git a/src/Compilation.zig b/src/Compilation.zig index f646ef258a..a228d61257 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -5625,6 +5625,10 @@ pub fn addCCArgs( }, } + if (comp.mingw_unicode_entry_point) { + try argv.append("-municode"); + } + if (target.cpu.arch.isThumb()) { try argv.append("-mthumb"); }