mirror of
https://github.com/GerbilSoft/hack-detection.git
synced 2025-06-18 11:15:34 -04:00
build-msvc.bat: Use the static MSVC runtime.
Something's wrong with my MinGW-w64 setup. The compiled executable doesn't work on Windows XP or Windows 7, or even on Wine. It simply starts and then exits. I'll rebuild it using MSVC 2017 for now. Unfortunately, this means the executable will be bigger, since it statically links the MSVC runtime instead of using MSVCRT.DLL.
This commit is contained in:
parent
6033f08539
commit
85076d7737
@ -1,4 +1,4 @@
|
||||
set "CFLAGS=/nologo /O2 /MD /EHsc /Zi /W3"
|
||||
set "CFLAGS=/nologo /O2 /MT /EHsc /Zi /W3"
|
||||
set "RCFLAGS=/nologo"
|
||||
set "LDFLAGS=/nologo /debug /opt:icf,ref /incremental:no"
|
||||
CL /c %CFLAGS% /Fohack-detection.o hack-detection.c
|
||||
|
Loading…
Reference in New Issue
Block a user