diff --git a/.gitignore b/.gitignore index 177af74..d7ac98d 100644 --- a/.gitignore +++ b/.gitignore @@ -57,4 +57,6 @@ dkms.conf /misc/supermiumman.png /bin.7z *.zip -*.res \ No newline at end of file +*.res + +release \ No newline at end of file diff --git a/build.cmd b/build.cmd index 4e3210f..f98bef9 100644 --- a/build.cmd +++ b/build.cmd @@ -12,8 +12,8 @@ if "%1" == "debug" ( set CL=/MT /Od /Zi /RTC1 /Fdprogmgr.pdb /fsanitize=address %DEFS% set LINK=/DEBUG ) else ( - set CL=/GL /O1 /DNDEBUG /GS- %DEFS% - set LINK=/LTCG /OPT:REF /OPT:ICF + set CL=/O1 /DNDEBUG /DPROGMGR_NO_CRT /GS- %DEFS% + set LINK=/NODEFAULTLIB /OPT:REF /OPT:ICF ) pushd "%DIR_RELEASE%"