From: Andre McCurdy Date: Tue, 22 Dec 2015 01:07:02 +0000 (-0800) Subject: directfb.inc: enable bfd linker workaround for all arm targets X-Git-Tag: 2016-4~1849 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=82423662e297137657d67d272276a823cf3f3d4e;p=openembedded-core.git directfb.inc: enable bfd linker workaround for all arm targets Although the gold linker problems with DirectFB have only so far been observed with armv7a, they could potentially affect future arm targets too. Since there's no particular downside to using the bfd linker for DirectFB, apply the workaround to all arm targets. Signed-off-by: Andre McCurdy Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc index b905ab0041..603aba3f6e 100644 --- a/meta/recipes-graphics/directfb/directfb.inc +++ b/meta/recipes-graphics/directfb/directfb.inc @@ -23,7 +23,7 @@ S = "${WORKDIR}/DirectFB-${PV}" LDFLAGS_append =" -lts -lm" # Workaround for linking issues seen with armv7a + gold -LDFLAGS_append_armv7a = "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" +LDFLAGS_append_arm = "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" BINCONFIG = "${bindir}/directfb-config"