mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 21:57:48 +00:00
Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.
In the non-sysroot-ed case, the debuf-root directory would not be set; debug tools would have been installed God-only-knows-where... Spotted by Bart van der Meulen <bartvdrmeulen@gmail.com>.
This commit is contained in:
parent
abfd68cbc3
commit
b816a5e6c9
@ -272,6 +272,7 @@ if [ -z "${CT_RESTART}" ]; then
|
||||
else
|
||||
# plain old way. All libraries in prefix/target/lib
|
||||
CT_SYSROOT_DIR="${CT_PREFIX_DIR}/${CT_TARGET}"
|
||||
CT_DEBUGROOT_DIR="${CT_SYSROOT_DIR}"
|
||||
CT_HEADERS_DIR="${CT_SYSROOT_DIR}/include"
|
||||
# hack! Always use --with-sysroot for binutils.
|
||||
# binutils 2.14 and later obey it, older binutils ignore it.
|
||||
|
Loading…
Reference in New Issue
Block a user