diff options
| author | 2016-01-16 18:02:19 +0100 | |
|---|---|---|
| committer | 2016-01-16 18:02:19 +0100 | |
| commit | 56f37631da5d0d14048f2654b5543cb79dbd10ec (patch) | |
| tree | a5af48ab21addc6bc6c8df18fedcac794adc92b0 /scripts | |
| parent | 5f19489cd2d0cd0b65ac250ac4b76d666a50509c (diff) | |
OS/2 patch [KO Myung-Hun]
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/genie.lua | 15 |
1 files 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++", |
