summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/devel/valgrind/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile
index 26dcf0b..f3c021c 100644
--- a/package/devel/valgrind/Makefile
+++ b/package/devel/valgrind/Makefile
@@ -77,7 +77,7 @@ define Package/valgrind/description
to speed up and reduce memory use of your programs.
endef
-CPU := $(patsubst x86_64,amd64,$(patsubst x86,i386,$(LINUX_KARCH)))
+CPU := $(patsubst x86_64,amd64,$(patsubst x86,i386,$(patsubst um,$(ARCH),$(LINUX_KARCH))))
CONFIGURE_VARS += \
UNAME_R=$(LINUX_VERSION)