aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/binutils/binutils.sh
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2024-01-14 14:52:02 -0800
committerChris Packham <judge.packham@gmail.com>2024-01-30 11:04:56 +1300
commit44208730a61f778b91f76d2feca76cf0a433c8c6 (patch)
tree1746919c2a075e154249ba35ddac12cd4e886130 /scripts/build/binutils/binutils.sh
parent2c93ba757731359d2e21f138e8440dd81ed80c81 (diff)
downloadcrosstool-ng-44208730a61f778b91f76d2feca76cf0a433c8c6.tar.gz
crosstool-ng-44208730a61f778b91f76d2feca76cf0a433c8c6.tar.bz2
crosstool-ng-44208730a61f778b91f76d2feca76cf0a433c8c6.zip
gdb: Explicitly point to target's libgmp for native build
Starting from GDB 11.x, gmp is needed as a dependency to build full gdb. And by default build system of native GDB will try to link with libgmp of the build host. And to make sure that doesn't happen we need to specify location of the target's sysroot so that library search starts from there. Which we do in that change. Fixes [1] & [1]. [1] https://github.com/crosstool-ng/crosstool-ng/issues/2084 [2] https://github.com/crosstool-ng/crosstool-ng/issues/1656 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'scripts/build/binutils/binutils.sh')
0 files changed, 0 insertions, 0 deletions