From 56f37631da5d0d14048f2654b5543cb79dbd10ec Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 16 Jan 2016 18:02:19 +0100 Subject: [PATCH] OS/2 patch [KO Myung-Hun] --- scripts/genie.lua | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index 4dadebb50df..8b70e645a1c 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -693,10 +693,17 @@ if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["ta "-std=c++1y", } else - buildoptions_cpp { - "-x c++", - "-std=c++14", - } + if _OPTIONS["targetos"]=="os2" then + buildoptions_cpp { + "-x c++", + "-std=gnu++14", + } + else + buildoptions_cpp { + "-x c++", + "-std=c++14", + } + end buildoptions_objc { "-x objective-c++",