diff --git a/Koakumafile b/Koakumafile index b751d56..fb7e885 100755 --- a/Koakumafile +++ b/Koakumafile @@ -14,9 +14,9 @@ proc run {project_name} { if { "$target" == "Linux" } { RunCommand "./Makefile.pl --enable-opengl --enable-vulkan --without-vulkan-string-helper" } elseif { "$target" == "Win32" } { - RunCommand "./Makefile.pl --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows CC=i686-w64-mingw32-gcc" + RunCommand "./Makefile.pl --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=i686-w64-mingw32" } elseif { "$target" == "Win64" } { - RunCommand "./Makefile.pl --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows CC=x86_64-w64-mingw32-gcc" + RunCommand "./Makefile.pl --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=x86_64-w64-mingw32" } RunCommand "make clean" RunCommand "make -j4"