OSX version of clang 3.5 is actually 3.4 with features (nw)

This commit is contained in:
Miodrag Milanovic 2015-12-03 14:40:03 +01:00
parent 7433c42f30
commit d9db2350fb

View File

@ -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",