From 46f4028e6f0eacf3e9aab33e9bff652bd34eb980 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 28 Aug 2020 17:57:28 +0200 Subject: rpi-gpio: add -fcommon temporarily * until the fix is available upstream Signed-off-by: Martin Jansa --- recipes-devtools/python/rpi-gpio_0.7.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-devtools/python/rpi-gpio_0.7.0.bb b/recipes-devtools/python/rpi-gpio_0.7.0.bb index fcce88f..8b13d53 100644 --- a/recipes-devtools/python/rpi-gpio_0.7.0.bb +++ b/recipes-devtools/python/rpi-gpio_0.7.0.bb @@ -12,3 +12,7 @@ SRC_URI[md5sum] = "777617f9dea9a1680f9af43db0cf150e" SRC_URI[sha256sum] = "7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f" COMPATIBLE_MACHINE = "^rpi$" + +# ignore issues with -fno-common from gcc-10 until it's fixed in upstream: +# https://sourceforge.net/p/raspberry-gpio-python/tickets/187/ +CFLAGS += "-fcommon" -- cgit v1.2.3-54-g00ecf