From f432724a562e67b56b67612e45f47f8fb655b5f1 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 30 Nov 2016 11:24:15 +0100 Subject: matchbox-keyboard: fix linker error with gold Taken from a proposed but not yet applied solution upstream. https://patchwork.openembedded.org/patch/103083/ Signed-off-by: Max Krummenacher Acked-by: Stefan Agner --- recipes-sato/matchbox-keyboard/matchbox-keyboard_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 recipes-sato/matchbox-keyboard/matchbox-keyboard_%.bbappend (limited to 'recipes-sato/matchbox-keyboard') diff --git a/recipes-sato/matchbox-keyboard/matchbox-keyboard_%.bbappend b/recipes-sato/matchbox-keyboard/matchbox-keyboard_%.bbappend new file mode 100644 index 0000000..6467d8d --- /dev/null +++ b/recipes-sato/matchbox-keyboard/matchbox-keyboard_%.bbappend @@ -0,0 +1,3 @@ +# Fails to build for ARM, at least with angstrom and the linaro toolchain +# | error: matchbox-keyboard-image.o: requires unsupported dynamic reloc R_ARM_THM_MOVW_ABS_NC; recompile with -fPIC +LDFLAGS += " ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" -- cgit v1.2.3