summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 92a59fcd65f..a49c77ecde5 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -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",
}