From c3ad4747342ac898ef7e9c158b5b340054b11d0d 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 . (transplanted from 634ffd14d936154464fd714ed29ed44c8e16ae02) diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 04b3976..58b7c7f 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -255,6 +255,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