summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-03 14:40:03 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-03 14:40:03 +0100
commitd9db2350fb39de7b5f1e7600d55c12b68cf09ad8 (patch)
treebcc5a864e55c5de186d606a31fc2289fb8629eb0 /scripts/genie.lua
parent7433c42f30d1c2ff3031768138bd6fa815cb2415 (diff)
OSX version of clang 3.5 is actually 3.4 with features (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index bcc72e68b36..40e5d9e8c5a 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -724,7 +724,7 @@ else
end
local version = str_to_version(_OPTIONS["gcc_version"])
-if string.find(_OPTIONS["gcc"], "clang") and (version < 30500) then
+if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["targetos"]=="macosx" and (version <= 30500))) then
buildoptions_cpp {
"-x c++",
"-std=c++1y",