summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
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",