diff options
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 6380d54a96..7f084b5cc4 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc | |||
@@ -67,10 +67,14 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" | |||
67 | 67 | ||
68 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ | 68 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ |
69 | --disable-werror \ | 69 | --disable-werror \ |
70 | --enable-plugins \ | 70 | --enable-plugins \ |
71 | ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '', d)} \ | 71 | ${LDGOLD} \ |
72 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" | 72 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" |
73 | 73 | ||
74 | LDGOLD_class-native = "" | ||
75 | LDGOLD_class-crosssdk = "" | ||
76 | LDGOLD ?= "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '', d)}" | ||
77 | |||
74 | # This is necessary due to a bug in the binutils Makefiles | 78 | # This is necessary due to a bug in the binutils Makefiles |
75 | # EXTRA_OEMAKE = "configure-build-libiberty all" | 79 | # EXTRA_OEMAKE = "configure-build-libiberty all" |
76 | 80 | ||