aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-11-25 18:03:39 +1300
committerChris Packham <judge.packham@gmail.com>2023-12-08 12:19:38 +1300
commitd91732672e55d7186ef9e21206515d644455000f (patch)
tree6f3e44ff963e3af064979aa2c19d28fe2a31f1a3 /scripts
parentcd0d14697dfaf6ab688ea6dd465cecaf888f6e36 (diff)
downloadcrosstool-ng-d91732672e55d7186ef9e21206515d644455000f.tar.gz
crosstool-ng-d91732672e55d7186ef9e21206515d644455000f.tar.bz2
crosstool-ng-d91732672e55d7186ef9e21206515d644455000f.zip
scripts/build/binutils: Update path for libbfd
As of binutils 2.41 libbfd.a is not placed directly in the output directory. Fortunately the libtool .libs location seems to have been in place for some time so we can update the path without worrying about backwards compatibility. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/binutils/binutils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh
index eff19c46..e8fdbbcc 100644
--- a/scripts/build/binutils/binutils.sh
+++ b/scripts/build/binutils/binutils.sh
@@ -295,7 +295,7 @@ do_elf2flt_backend() {
--prefix=${prefix} \
--with-bfd-include-dir=${binutils_bld}/bfd \
--with-binutils-include-dir=${binutils_src}/include \
- --with-libbfd=${binutils_bld}/bfd/libbfd.a \
+ --with-libbfd=${binutils_bld}/bfd/.libs/libbfd.a \
--with-libiberty=${binutils_bld}/libiberty/libiberty.a \
--disable-werror \
${elf2flt_opts} \