aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2014-08-20 13:58:23 +0000
committerNicolas Thill <nico@openwrt.org>2014-08-20 13:58:23 +0000
commit62ae2d1af13847e66723cc1d87d6da461d56f100 (patch)
treeb6d52b03a1c412023fd005d5f111990733fb63e7
parent929e73c7b6f06d75865b5ebdd8d90f6bcd6851a1 (diff)
downloadupstream-62ae2d1af13847e66723cc1d87d6da461d56f100.tar.gz
upstream-62ae2d1af13847e66723cc1d87d6da461d56f100.tar.bz2
upstream-62ae2d1af13847e66723cc1d87d6da461d56f100.zip
valgrind: fix build failure on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 42229
-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 26dcf0b5c9..f3c021c6c4 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)