From a76a99b4230239d12d7b5a1ceb777c073faf31cc Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 28 Sep 2024 18:26:43 +0100 Subject: Remove redundant and/or incorrect -municode flag This tells MinGW toolchains, which we don't use, to use wmain() instead of main(), which we're also not doing for these programs. With the regular Clang toolchain that we do use, it makes no difference. In any case, then, we might as well remove it. --- compile.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compile.bat') diff --git a/compile.bat b/compile.bat index 1eebb59..9f736e4 100644 --- a/compile.bat +++ b/compile.bat @@ -115,11 +115,11 @@ if %host64%==1 ( %CC% -fuse-ld=lld -shared -O0 -w -o .build/tier0.dll src/stubs/tier0.c %CC% -fuse-ld=lld -shared -O0 -w -o .build/vstdlib.dll src/stubs/vstdlib.c -%HOSTCC% -fuse-ld=lld -municode -O2 %warnings% -D_CRT_SECURE_NO_WARNINGS -include stdbool.h ^ +%HOSTCC% -fuse-ld=lld -O2 %warnings% -D_CRT_SECURE_NO_WARNINGS -include stdbool.h ^ -L.build %lbcryptprimitives_host% -o .build/codegen.exe src/build/codegen.c src/build/cmeta.c src/os.c || goto :end -%HOSTCC% -fuse-ld=lld -municode -O2 %warnings% -D_CRT_SECURE_NO_WARNINGS -include stdbool.h ^ +%HOSTCC% -fuse-ld=lld -O2 %warnings% -D_CRT_SECURE_NO_WARNINGS -include stdbool.h ^ -L.build %lbcryptprimitives_host% -o .build/mkgamedata.exe src/build/mkgamedata.c src/os.c || goto :end -%HOSTCC% -fuse-ld=lld -municode -O2 -g %warnings% -D_CRT_SECURE_NO_WARNINGS -include stdbool.h ^ +%HOSTCC% -fuse-ld=lld -O2 -g %warnings% -D_CRT_SECURE_NO_WARNINGS -include stdbool.h ^ -L.build %lbcryptprimitives_host% -o .build/mkentprops.exe src/build/mkentprops.c src/os.c || goto :end .build\codegen.exe%src% || goto :end .build\mkgamedata.exe gamedata/engine.txt gamedata/gamelib.txt gamedata/inputsystem.txt ^ -- cgit v1.2.3-54-g00ecf