summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/toolchain.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-02-29 22:38:25 +1100
committer Vas Crabb <vas@vastheman.com>2020-02-29 22:38:25 +1100
commit0bff880f7f0578d9ac25bde371e67bf9fb0b18d8 (patch)
tree0acc2ec46c383ada0e35fa3ff1634bac2e82293b /scripts/toolchain.lua
parent5c0aac45c89309364a11aeb3fa1a3205c16ebe5f (diff)
might be better to leave that in for MinGW cross-compilation... (nw)
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