ltrace: fix build for powerpc
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 2 Oct 2009 08:33:29 +0000 (10:33 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 2 Oct 2009 08:33:29 +0000 (10:33 +0200)
ltrace wants ARCH=ppc when building for powerpc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/ltrace/ltrace.mk

index c5b80969e90564cb41424dd69e996fbfa5f53130..424c39d8722469e874cbb13be6351e843696a4cc 100644 (file)
@@ -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