Use 2 byte chars with gcc to match how windows does unicode.
[mirror_edk2.git] / Tools / Conf / gcc_tools.txt
index 45a877d..cdce142 100644 (file)
@@ -1,4 +1,4 @@
-IA32_CC = "-Os","-fno-strict-aliasing","-Wall", "-Werror", "-c"\r
+IA32_CC = "-Os", "-fshort-wchar", "-fno-strict-aliasing", "-Wall", "-Werror", "-c"\r
 IA32_LIB = \r
 IA32_LINK = "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols"\r
 IA32_ASM = "/nologo", "/W3", "/WX", "/c", "/coff", "/DEFI32"\r