OSX version is taken on different way so it is considered 6.0 (nw)

This commit is contained in:
Miodrag Milanovic 2015-12-03 14:50:04 +01:00
parent d9db2350fb
commit 20b32acb8b

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) or (_OPTIONS["targetos"]=="macosx" and (version <= 30500))) then
if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["targetos"]=="macosx" and (version <= 60000))) then
buildoptions_cpp {
"-x c++",
"-std=c++1y",