From 398261e82b5681745892818dd42d8bc718881ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 10 Jun 2020 23:11:51 +0200 Subject: [PATCH] opentyrian: Hack to build with gcc10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-games/opentyrian/opentyrian_2.1.20130907.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-games/opentyrian/opentyrian_2.1.20130907.bb b/recipes-games/opentyrian/opentyrian_2.1.20130907.bb index 229e4fa..bc66ebb 100644 --- a/recipes-games/opentyrian/opentyrian_2.1.20130907.bb +++ b/recipes-games/opentyrian/opentyrian_2.1.20130907.bb @@ -24,7 +24,9 @@ SRC_URI[sha256sum] = "f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008 SRC_URI[data.md5sum] = "2a3b206a6de25ed4b771af073f8ca904" SRC_URI[data.sha256sum] = "7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277" -CFLAGS += "-Wimplicit-fallthrough=0" +# Hack to build - yes this is bad but I sometimes still like to play +# opentyrian at the risk it is going to kill me +CFLAGS += "-Wimplicit-fallthrough=0 -Wno-error=format-truncation -Wno-error=format-overflow" do_install() { install -d ${D}${bindir}