summaryrefslogtreecommitdiff
path: root/scripts/build/debug
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-24 15:40:58 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-24 15:40:58 (GMT)
commit0c063fad74495afa5f79e51585915dbb71081873 (patch)
treed45f105be593c9bd81c316f96ad531ae114698f4 /scripts/build/debug
parente6abad7e97249ecd4e7b6caee58deeb904e2e308 (diff)
Make ltrace finally build:
- copy sources to build directory, as it does not build out-of-tree - add a patch to make it build for non *-linux-gnu host tuples - add a patch to make it cross-build correctly /trunk/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch | 26 26 0 0 +++ /trunk/patches/ltrace/0.4/110-allow-cross-compile.patch | 89 89 0 0 ++++++++++ /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 + 3 files changed, 118 insertions(+), 2 deletions(-)
Diffstat (limited to 'scripts/build/debug')
-rw-r--r--scripts/build/debug/400-ltrace.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/debug/400-ltrace.sh b/scripts/build/debug/400-ltrace.sh
index 32e11ea..eac384a 100644
--- a/scripts/build/debug/400-ltrace.sh
+++ b/scripts/build/debug/400-ltrace.sh
@@ -21,9 +21,10 @@ do_debug_ltrace_build() {
mkdir -p "${CT_BUILD_DIR}/build-ltrace"
CT_Pushd "${CT_BUILD_DIR}/build-ltrace"
+ CT_DoLog EXTRA "Copying sources to build dir"
+ (cd "${CT_SRC_DIR}/ltrace-${CT_LTRACE_VERSION}"; tar cf - .)| tar xvf - |CT_DoLog ALL
+
CT_DoLog EXTRA "Configuring ltrace"
-# CFLAGS="-I${CT_SYSROOT_DIR}/usr/include" \
-# LDFLAGS="-L${CT_SYSROOT_DIR}/usr/include" \
CT_DoExecLog ALL \
"${CT_SRC_DIR}/ltrace-${CT_LTRACE_VERSION}/configure" \
--build=${CT_BUILD} \