Fix macOS build (nw)

This commit is contained in:
Miodrag Milanovic 2016-11-02 17:19:29 +01:00
parent 68bd81d11a
commit a2c76b34d8

View File

@ -681,7 +681,7 @@ if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["ta
"-std=c++1y",
}
buildoptions_objc {
buildoptions_objcpp {
"-x objective-c++",
"-std=c++1y",
}
@ -691,7 +691,7 @@ else
"-std=c++14",
}
buildoptions_objc {
buildoptions_objcpp {
"-x objective-c++",
"-std=c++14",
}
@ -916,7 +916,7 @@ if _OPTIONS["targetos"]~="freebsd" then
end
-- warnings only applicable to OBJ-C compiles
buildoptions_objc {
buildoptions_objcpp {
"-Wpointer-arith",
}