summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/toolchain.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toolchain.lua')
-rw-r--r--scripts/toolchain.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index 4823083f0aa..3eb2acf0e0b 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -262,6 +262,7 @@ function toolchain(_buildDir, _subDir)
end
premake.gcc.cc = toolchainPrefix .. "gcc"
premake.gcc.cxx = toolchainPrefix .. "g++"
+ premake.gcc.ar = toolchainPrefix .. "gcc-ar"
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw32-gcc")
end
@@ -274,6 +275,7 @@ function toolchain(_buildDir, _subDir)
end
premake.gcc.cc = toolchainPrefix .. "gcc"
premake.gcc.cxx = toolchainPrefix .. "g++"
+ premake.gcc.ar = toolchainPrefix .. "gcc-ar"
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw64-gcc")
end