From a2c76b34d855183b6eefcf4e35863c626308dbeb Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 2 Nov 2016 17:19:29 +0100 Subject: [PATCH] Fix macOS build (nw) --- scripts/genie.lua | 6 +++--- 1 file 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", }