mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-30 01:28:53 +00:00
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(+)
This commit is contained in:
parent
991a5070e5
commit
28176fe21e
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user