summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/toolchain.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-04-20 02:36:58 +1000
committer Vas Crabb <vas@vastheman.com>2025-04-20 02:36:58 +1000
commit8c28d3ff7eb420452a8f3499d77b3957ca7edf58 (patch)
treeddd98c2e08b9be0146a0f80d0d24bc4130acd6ea /scripts/toolchain.lua
parentb1d2a52ddd96375d0608fee4d666998d621679c6 (diff)
Cleaned up build scripts and compiling documentation:
* Made it a bit easier to cross-compile for x86-64 or i686 on an AArch64 Windows system. * Choose the default native recompiler back-end based on predefined macros rather than requiring the build scripts to set it. * Don't require every target without a native recompiler to declare this. * Got rid of the code that was supposed to set -m32 or -m64 when building GENie (it didn't work - it tried to use ARCHITECTURE before setting it). * Avoid relying on the unreliable PROCESSOR_ARCHITECTURE environment variable. * Got rid of stuff for versions of Xcode that are definitely no longer supported. * Got rid of workarounds for very old Linux distros. * Use newer makefile syntax for if/else/if structures, comment some else and endif statements for clarity.
Diffstat (limited to 'scripts/toolchain.lua')
-rw-r--r--scripts/toolchain.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index 6ee4748b258..59e8bdb504a 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -141,11 +141,6 @@ function toolchain(_buildDir, _subDir)
end
if "linux-gcc" == _OPTIONS["gcc"] then
- -- Force gcc-4.2 on ubuntu-intrepid
- if _OPTIONS["distro"]=="ubuntu-intrepid" then
- premake.gcc.cc = "@gcc -V 4.2"
- premake.gcc.cxx = "@g++-4.2"
- end
premake.gcc.ar = "ar"
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-linux")
end