From 0c063fad74495afa5f79e51585915dbb71081873 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 24 Oct 2008 15:40:58 +0000 Subject: 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(-) --- scripts/build/debug/400-ltrace.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/debug/400-ltrace.sh b/scripts/build/debug/400-ltrace.sh index 32e11ea1..eac384a4 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} \ -- cgit v1.2.3