From b816a5e6c992a5a908d597f727eb4c873763c904 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 23 Jun 2009 22:52:13 +0200 Subject: 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 . diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 475f692..b40ac4e 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -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. -- cgit v0.10.2-6-g49f6