OS/2 patch [KO Myung-Hun]

This commit is contained in:
Miodrag Milanovic 2016-01-16 18:02:19 +01:00
parent 5f19489cd2
commit 56f37631da

View File

@ -693,10 +693,17 @@ if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["ta
"-std=c++1y", "-std=c++1y",
} }
else else
buildoptions_cpp { if _OPTIONS["targetos"]=="os2" then
"-x c++", buildoptions_cpp {
"-std=c++14", "-x c++",
} "-std=gnu++14",
}
else
buildoptions_cpp {
"-x c++",
"-std=c++14",
}
end
buildoptions_objc { buildoptions_objc {
"-x objective-c++", "-x objective-c++",