mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
Compilation: Pass -municode on to Clang.
This is supposed to define the UNICODE macro; it's not just a linker option. Closes #21978.
This commit is contained in:
parent
9ebce51e16
commit
e5d9d3f8a1
1 changed files with 4 additions and 0 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue