# HG changeset patch # User "Yann E. MORIN" # Date 1245790333 -7200 # Node ID 634ffd14d936154464fd714ed29ed44c8e16ae02 # Parent 339c8a5c9797c5e304e58d27125297424efa3c72 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 -r 339c8a5c9797 -r 634ffd14d936 scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Tue Jun 23 22:52:13 2009 +0200 +++ b/scripts/crosstool-NG.sh.in Tue Jun 23 22:52:13 2009 +0200 @@ -272,6 +272,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.