diff options
-rw-r--r-- | meta/recipes-support/libunwind/libunwind.inc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index c4a7b5e203..406bbe4633 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc @@ -23,7 +23,14 @@ LIBATOMICS_armv5 = "-latomic_ops" LIBATOMICS_armv4 = "-latomic_ops" LIBATOMICS ?= "" -LDFLAGS_append = " -fuse-ld=gold" +LDFLAGS_append_x86 = " -fuse-ld=gold" +LDFLAGS_append_x86-64 = " -fuse-ld=gold" + +LDFLAGS_append_arm = " -fuse-ld=gold" +LDFLAGS_append_aarch64 = " -fuse-ld=gold" + +LDFLAGS_append_powerpc = " -fuse-ld=gold" +LDFLAGS_append_powerpc64 = " -fuse-ld=gold" DEPENDS += "${DEPLIBATOMICS}" DEPLIBATOMICS_armv5 = "libatomics-ops" |