summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toolchain.lua5
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