From 47a8f8c2bbe25667d8c4ef0326401137db36d836 Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 2 May 2020 15:41:02 -0400 Subject: [PATCH] GCC 10 fix for sqlite3 (nw) --- scripts/genie.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/genie.lua b/scripts/genie.lua index a8967409dc4..024352cb472 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1101,6 +1101,11 @@ end "-Wno-class-memaccess", -- many instances in ImGui and BGFX } end + if (version >= 100000) then + buildoptions { + "-Wno-return-local-addr", -- sqlite3.c in GCC 10 + } + end end end