From 24da8c321831dcc5de00d65d6c5613efee109b57 Mon Sep 17 00:00:00 2001 From: Matt Madison Date: Wed, 13 Sep 2017 14:54:09 -0300 Subject: goarch.bbclass: set ARM_INSTRUCTION_SET to "arm" Go does not play well with thumb, so ensure that the toolchain and any packages use arm, not thumb, instructions. Signed-off-by: Matt Madison Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- meta/classes/goarch.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass index bfba3c9723..8b95c5fe94 100644 --- a/meta/classes/goarch.bbclass +++ b/meta/classes/goarch.bbclass @@ -27,6 +27,7 @@ COMPATIBLE_HOST_linux-gnux32 = "null" COMPATIBLE_HOST_linux-muslx32 = "null" COMPATIBLE_HOST_powerpc = "null" COMPATIBLE_HOST_powerpc64 = "null" +ARM_INSTRUCTION_SET = "arm" def go_map_arch(a, d): import re -- cgit 1.2.3-korg