From 46827b861626386c5c6db6f400616a797e181233 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 29 Dec 2019 10:44:13 -0800 Subject: recipes: Use -fcommon explicitly This is needed with gcc 10 (From OE-Core rev: 312e9fe3f047547df4c21c8e666cc9aa70e15347) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/mesa_19.2.4.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-graphics/mesa') diff --git a/meta/recipes-graphics/mesa/mesa_19.2.4.bb b/meta/recipes-graphics/mesa/mesa_19.2.4.bb index 46ecee3a73..115663b066 100644 --- a/meta/recipes-graphics/mesa/mesa_19.2.4.bb +++ b/meta/recipes-graphics/mesa/mesa_19.2.4.bb @@ -13,6 +13,8 @@ SRC_URI[sha256sum] = "09000a0f7dbbd82e193b81a8f1bf0c118eab7ca975c0329181968596e5 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)" +CFLAGS += "-fcommon" + #because we cannot rely on the fact that all apps will use pkgconfig, #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER do_install_append() { -- cgit v1.2.3-54-g00ecf