Compilation: Pass -municode on to Clang.
Some checks are pending
ci / x86_64-linux-debug (push) Waiting to run
ci / x86_64-linux-release (push) Waiting to run
ci / aarch64-linux-debug (push) Waiting to run
ci / aarch64-linux-release (push) Waiting to run
ci / x86_64-macos-release (push) Waiting to run
ci / aarch64-macos-debug (push) Waiting to run
ci / aarch64-macos-release (push) Waiting to run
ci / x86_64-windows-debug (push) Waiting to run
ci / x86_64-windows-release (push) Waiting to run
ci / aarch64-windows (push) Waiting to run

This is supposed to define the UNICODE macro; it's not just a linker option.

Closes #21978.
This commit is contained in:
Alex Rønne Petersen 2024-11-13 05:06:04 +01:00
parent 9ebce51e16
commit e5d9d3f8a1

View File

@ -5625,6 +5625,10 @@ pub fn addCCArgs(
}, },
} }
if (comp.mingw_unicode_entry_point) {
try argv.append("-municode");
}
if (target.cpu.arch.isThumb()) { if (target.cpu.arch.isThumb()) {
try argv.append("-mthumb"); try argv.append("-mthumb");
} }