diff options
Diffstat (limited to 'scripts/toolchain.lua')
-rw-r--r-- | scripts/toolchain.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 45734c11971..4823083f0aa 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -262,14 +262,6 @@ function toolchain(_buildDir, _subDir) end premake.gcc.cc = toolchainPrefix .. "gcc" premake.gcc.cxx = toolchainPrefix .. "g++" --- work around GCC 4.9.2 not having proper linker for LTO=1 usage - local version_4_ar = str_to_version(_OPTIONS["gcc_version"]) - if (version_4_ar < 50000) then - premake.gcc.ar = toolchainPrefix .. "ar" - end - if (version_4_ar >= 50000) then - premake.gcc.ar = toolchainPrefix .. "gcc-ar" - end location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw32-gcc") end @@ -282,14 +274,6 @@ function toolchain(_buildDir, _subDir) end premake.gcc.cc = toolchainPrefix .. "gcc" premake.gcc.cxx = toolchainPrefix .. "g++" --- work around GCC 4.9.2 not having proper linker for LTO=1 usage - local version_4_ar = str_to_version(_OPTIONS["gcc_version"]) - if (version_4_ar < 50000) then - premake.gcc.ar = toolchainPrefix .. "ar" - end - if (version_4_ar >= 50000) then - premake.gcc.ar = toolchainPrefix .. "gcc-ar" - end location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw64-gcc") end |