Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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] crosstool-ng#2084 [2] crosstool-ng#1656 Signed-off-by: Alexey Brodkin <[email protected]>
- Loading branch information