# HG changeset patch # User "Yann E. MORIN" # Date 1245790333 -7200 # Node ID bfdcc6076d3be907132991bfdc962ed23f2a060e # Parent 0c021c8900ccaa296b642dc6efcf1d4cdcd28dd6 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 -r 0c021c8900cc -r bfdcc6076d3b scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Wed Jun 17 15:27:55 2009 +0200 +++ b/scripts/crosstool-NG.sh.in Tue Jun 23 22:52:13 2009 +0200 @@ -255,6 +255,7 @@ 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.