semi-revert the change of ar.exe to gcc-ar.exe; the latter is broken in the current build tools, needs to be replaced with a working copy (n/w)
This commit is contained in:
parent
4030382235
commit
68a39e8e69
@ -194,9 +194,9 @@ function toolchain(_buildDir, _subDir)
|
|||||||
end
|
end
|
||||||
premake.gcc.cc = "$(MINGW32)/bin/i686-w64-mingw32-gcc"
|
premake.gcc.cc = "$(MINGW32)/bin/i686-w64-mingw32-gcc"
|
||||||
premake.gcc.cxx = "$(MINGW32)/bin/i686-w64-mingw32-g++"
|
premake.gcc.cxx = "$(MINGW32)/bin/i686-w64-mingw32-g++"
|
||||||
-- premake.gcc.ar = "$(MINGW32)/bin/ar"
|
premake.gcc.ar = "$(MINGW32)/bin/ar"
|
||||||
-- lto docs say to use gcc-ar so that plugin is completely setup
|
-- lto docs say to use gcc-ar so that plugin is completely setup, but this doesn't work in windows with the current build tools' copy of gcc-ar.exe
|
||||||
premake.gcc.ar = "$(MINGW32)/bin/gcc-ar"
|
-- premake.gcc.ar = "$(MINGW32)/bin/gcc-ar"
|
||||||
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw32-gcc")
|
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw32-gcc")
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -206,9 +206,9 @@ function toolchain(_buildDir, _subDir)
|
|||||||
end
|
end
|
||||||
premake.gcc.cc = "$(MINGW64)/bin/x86_64-w64-mingw32-gcc"
|
premake.gcc.cc = "$(MINGW64)/bin/x86_64-w64-mingw32-gcc"
|
||||||
premake.gcc.cxx = "$(MINGW64)/bin/x86_64-w64-mingw32-g++"
|
premake.gcc.cxx = "$(MINGW64)/bin/x86_64-w64-mingw32-g++"
|
||||||
-- premake.gcc.ar = "$(MINGW64)/bin/ar"
|
premake.gcc.ar = "$(MINGW64)/bin/ar"
|
||||||
-- lto docs say to use gcc-ar so that plugin is completely setup
|
-- lto docs say to use gcc-ar so that plugin is completely setup, but this doesn't work in windows with the current build tools' copy of gcc-ar.exe
|
||||||
premake.gcc.ar = "$(MINGW64)/bin/gcc-ar"
|
-- premake.gcc.ar = "$(MINGW64)/bin/gcc-ar"
|
||||||
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw64-gcc")
|
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw64-gcc")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user