diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-20 19:05:52 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-20 19:05:52 (GMT) |
commit | 28176fe21ebb3caec630dd9240020884598bdf8c (patch) | |
tree | ce6a98bce093ceffc3405fb41e3de1938182c5e9 /scripts | |
parent | 991a5070e58d8de758b964a574f813ad0c03de91 (diff) |
Fix building ltrace on PowerPC.
On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
ltrace wouldn't build on PowerPC because in the
sysdeps/linux-gnu directory in the ltrace source tree
the powerpc directory is called ppc. I added some code
in 400-ltrace.sh to create a symlink for it so it will
build now.
Patch slightly modified by me before applying.
/trunk/scripts/build/debug/400-ltrace.sh | 5 5 0 0 +++++
1 file changed, 5 insertions(+)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/debug/400-ltrace.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/debug/400-ltrace.sh b/scripts/build/debug/400-ltrace.sh index 8654e20..48cbc7b 100644 --- a/scripts/build/debug/400-ltrace.sh +++ b/scripts/build/debug/400-ltrace.sh @@ -11,6 +11,11 @@ do_debug_ltrace_get() { do_debug_ltrace_extract() { CT_Extract "ltrace-${CT_LTRACE_VERSION}" CT_Patch "ltrace-${CT_LTRACE_VERSION}" + # ltrace uses ppc instead of powerpc for the arch name + # create a symlink to get it to build for powerpc + CT_Pushd "${CT_SRC_DIR}/ltrace-${CT_LTRACE_VERSION}/sysdeps/linux-gnu" + CT_DoExecLog ALL ln -sf ppc powerpc + CT_Popd } do_debug_ltrace_build() { |