From b19a1b59d85ab0e147ebdfeba46483553c7d06f4 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Wed, 24 Jun 2020 13:48:13 +1000 Subject: 0.222 Release files --- docs/release/scripts/genie.lua | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'docs/release/scripts/genie.lua') diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua index 1a7ac03f4aa..0255815e367 100644 --- a/docs/release/scripts/genie.lua +++ b/docs/release/scripts/genie.lua @@ -505,6 +505,11 @@ configuration { "Release", "vs20*" } "NoEditAndContinue", "NoIncrementalLink", } + if _OPTIONS["SYMBOLS"] then + flags { + "Symbols", + } + end configuration { "vsllvm" } buildoptions { @@ -1081,6 +1086,16 @@ end "-Wno-pragma-pack" -- clang 6.0 complains when the packing change lifetime is not contained within a header file. } end + if ((version < 60000) or (_OPTIONS["targetos"]=="macosx" and (version <= 90000))) then + buildoptions { + "-Wno-missing-braces" -- std::array brace initialization not fixed until 6.0.0 (https://reviews.llvm.org/rC314838) + } + end + if (_OPTIONS["targetos"]=="macosx" and (version < 80000)) then + defines { + "TARGET_OS_OSX=1", + } + end else if (version < 70000) then print("GCC version 7.0 or later needed") @@ -1254,15 +1269,18 @@ configuration { "osx* or xcode4" } } configuration { "mingw*" } - if _OPTIONS["osd"]~="sdl" - then + if _OPTIONS["osd"]=="sdl" then + linkoptions { + "-Wl,--start-group", + } + else linkoptions { "-static", } + flags { + "LinkSupportCircularDependencies", + } end - flags { - "LinkSupportCircularDependencies", - } links { "user32", "winmm", -- cgit v1.2.3-70-g09d2