diff options
author | 2024-09-28 18:26:43 +0100 | |
---|---|---|
committer | 2024-09-28 18:28:13 +0100 | |
commit | a76a99b4230239d12d7b5a1ceb777c073faf31cc (patch) | |
tree | 659a9c100731dbf7511f7b5292e2ee83cb44b443 | |
parent | 3503fa80c02e19a718245f92eba31f6b0a5cf45c (diff) | |
download | sst-a76a99b4230239d12d7b5a1ceb777c073faf31cc.tar.gz sst-a76a99b4230239d12d7b5a1ceb777c073faf31cc.zip |
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.
-rw-r--r-- | compile.bat | 6 |
1 files changed, 3 insertions, 3 deletions
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 ^
|