summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTitus von Boxberg" <titus@v9g.de>2011-08-22 07:26:02 (GMT)
committerTitus von Boxberg <titus@v9g.de>2011-08-22 07:26:02 (GMT)
commit68cd6e6d26e722da97ae6e847697e4cb58b66ac1 (patch)
tree1782248ffeb4ba81cba0b0da168344563ef76696 /scripts
parent711ac75ad0dbbf8e1dbc3a95f82df7a36505b7d2 (diff)
debug/ltrace: Fix HOST_OS and ar
HOST_OS really is the target OS. Allow setting it for configure via an environment variable. libltrace.a should have an index: Allow ar to be set as an environment variable, and generate an index in this lib. Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/debug/400-ltrace.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/debug/400-ltrace.sh b/scripts/build/debug/400-ltrace.sh
index 716af39..44f8af2 100644
--- a/scripts/build/debug/400-ltrace.sh
+++ b/scripts/build/debug/400-ltrace.sh
@@ -38,7 +38,9 @@ do_debug_ltrace_build() {
esac
CT_DoExecLog CFG \
CC="${CT_TARGET}-${CT_CC}" \
+ AR="${CT_TARGET}-ar" \
HOST="${ltrace_host}" \
+ HOST_OS="${CT_TARGET_KERNEL}" \
CFLAGS="${CT_TARGET_CFLAGS}" \
./configure --prefix=/usr
else