]> code.ossystems Code Review - openembedded-core.git/commitdiff
directfb.inc: enable bfd linker workaround for all arm targets
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 22 Dec 2015 01:07:02 +0000 (17:07 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Dec 2015 16:44:02 +0000 (16:44 +0000)
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 <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/directfb/directfb.inc

index b905ab00412f2a52d730bfb9c7724c8b6803cd37..603aba3f6e1a36690cdc68125bb196b7a8622273 100644 (file)
@@ -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"