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:
Lord-Nightmare 2015-07-23 14:28:23 -04:00
parent 4030382235
commit 68a39e8e69

View File

@ -194,9 +194,9 @@ function toolchain(_buildDir, _subDir)
end
premake.gcc.cc = "$(MINGW32)/bin/i686-w64-mingw32-gcc"
premake.gcc.cxx = "$(MINGW32)/bin/i686-w64-mingw32-g++"
-- premake.gcc.ar = "$(MINGW32)/bin/ar"
-- lto docs say to use gcc-ar so that plugin is completely setup
premake.gcc.ar = "$(MINGW32)/bin/gcc-ar"
premake.gcc.ar = "$(MINGW32)/bin/ar"
-- 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"
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw32-gcc")
end
@ -206,9 +206,9 @@ function toolchain(_buildDir, _subDir)
end
premake.gcc.cc = "$(MINGW64)/bin/x86_64-w64-mingw32-gcc"
premake.gcc.cxx = "$(MINGW64)/bin/x86_64-w64-mingw32-g++"
-- premake.gcc.ar = "$(MINGW64)/bin/ar"
-- lto docs say to use gcc-ar so that plugin is completely setup
premake.gcc.ar = "$(MINGW64)/bin/gcc-ar"
premake.gcc.ar = "$(MINGW64)/bin/ar"
-- 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"
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw64-gcc")
end