summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-06-23 20:52:13 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-06-23 20:52:13 (GMT)
commitc3ad4747342ac898ef7e9c158b5b340054b11d0d (patch)
treead84a0db0ba1981b4cbe570df789f2ff3a1eda2a /scripts
parentf261ec42ded318eef8c229e9e0c556809b728b9b (diff)
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>. (transplanted from 634ffd14d936154464fd714ed29ed44c8e16ae02)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/crosstool-NG.sh.in1
1 files changed, 1 insertions, 0 deletions
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.