summaryrefslogtreecommitdiffstats
path: root/package/ltrace
diff options
context:
space:
mode:
Diffstat (limited to 'package/ltrace')
-rw-r--r--package/ltrace/ltrace.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk
index c5b80969e..424c39d87 100644
--- a/package/ltrace/ltrace.mk
+++ b/package/ltrace/ltrace.mk
@@ -11,7 +11,8 @@ LTRACE_DIR=$(BUILD_DIR)/ltrace-$(LTRACE_VERSION)
LTRACE_BINARY=ltrace
LTRACE_TARGET_BINARY=usr/bin/ltrace
-LTRACE_ARCH:=$(KERNEL_ARCH)
+# ltrace uses arch=ppc for powerpc
+LTRACE_ARCH:=$(KERNEL_ARCH:powerpc=ppc)
ifeq ("$(strip $(ARCH))","armeb")
LTRACE_ARCH:=arm
endif