summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2017-10-11 07:07:23 -0500
committerJoel Sherrill <joel@rtems.org>2017-10-11 21:16:20 -0500
commitc4b6bf0d6ddc0b57a5c091bb8d4ae0961293c48a (patch)
tree7df326c2849b0a799bfc0684b19a15716b6888ae
parentrtems-sh.bset: Use default toolset specifically GCC 7 (diff)
downloadrtems-source-builder-c4b6bf0d6ddc0b57a5c091bb8d4ae0961293c48a.tar.bz2
Enable 64-bit BFD support. Needed on 32bit hosts
Closes #3157.
-rw-r--r--rtems/config/tools/rtems-binutils-2.29-1.cfg5
-rw-r--r--source-builder/config/binutils-2-1.cfg1
2 files changed, 6 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-binutils-2.29-1.cfg b/rtems/config/tools/rtems-binutils-2.29-1.cfg
index 6941ebb..87580f8 100644
--- a/rtems/config/tools/rtems-binutils-2.29-1.cfg
+++ b/rtems/config/tools/rtems-binutils-2.29-1.cfg
@@ -20,6 +20,11 @@
%define with_deterministic_archives 1
#
+# Enable 64-bit BFD support
+#
+%define with_64_bit_bfd 1
+
+#
# The binutils build instructions. We use 2.xx Release 1.
#
%include %{_configdir}/binutils-2-1.cfg
diff --git a/source-builder/config/binutils-2-1.cfg b/source-builder/config/binutils-2-1.cfg
index 539f076..0b4101d 100644
--- a/source-builder/config/binutils-2-1.cfg
+++ b/source-builder/config/binutils-2-1.cfg
@@ -70,6 +70,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
--target=%{_target} \
--verbose --disable-nls \
%{?with_deterministic_archives:--enable-deterministic-archives} \
+ %{?with_64_bit_bfd:--enable-64-bit-bfd} \
%{?with_gold:--enable-gold=yes} \
%{?with_lto:--enable-lto --enable-plugins}%{!?with_lto:--disable-lto} \
--without-included-gettext \