From: Nicolas Thill Date: Wed, 20 Aug 2014 13:58:23 +0000 (+0000) Subject: valgrind: fix build failure on uml X-Git-Tag: reboot~6161 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=62ae2d1af13847e66723cc1d87d6da461d56f100;p=openwrt%2Fstaging%2Fjogo.git valgrind: fix build failure on uml Signed-off-by: Nicolas Thill SVN-Revision: 42229 --- 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)