diff options
| author | 2022-07-03 19:54:58 +0200 | |
|---|---|---|
| committer | 2022-07-04 03:54:58 +1000 | |
| commit | 624793eac882fcd4daf7055cf1aef4058e2dd4f7 (patch) | |
| tree | d07609bfef96645a17ea34da4c593b459f43bfd0 /scripts | |
| parent | 174e6bdf44285ae023315a04727f5b1a74443121 (diff) | |
Added support for building with Clang on OpenBSD. (#10028)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/toolchain.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 4a3eac02546..c8b90f3d738 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -30,6 +30,7 @@ newoption { { "netbsd", "NetBSD" }, { "netbsd-clang", "NetBSD (clang compiler)"}, { "openbsd", "OpenBSD" }, + { "openbsd-clang", "OpenBSD (clang compiler)"}, { "osx", "OSX (GCC compiler)" }, { "osx-clang", "OSX (Clang compiler)" }, { "solaris", "Solaris" }, @@ -136,6 +137,10 @@ function toolchain(_buildDir, _subDir) location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-openbsd") end + if "openbsd-clang" == _OPTIONS["gcc"] then + location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-openbsd-clang") + end + if "linux-gcc" == _OPTIONS["gcc"] then -- Force gcc-4.2 on ubuntu-intrepid if _OPTIONS["distro"]=="ubuntu-intrepid" then |
