diff options
author | 2016-11-02 17:19:29 +0100 | |
---|---|---|
committer | 2016-11-02 17:19:29 +0100 | |
commit | a2c76b34d855183b6eefcf4e35863c626308dbeb (patch) | |
tree | ba4f3e28c36143a6ba3b8dd7228bd2353b611aaa /scripts/genie.lua | |
parent | 68bd81d11a908139227f76824772c5b5c95ce095 (diff) |
Fix macOS build (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 6 |
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", } |