From: blogic Date: Mon, 1 Sep 2014 13:21:44 +0000 (+0000) Subject: valgrind: fix build failure on uml X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=9a35cceade07400b45494c8b781879cb14163139;p=14.07%2Fopenwrt.git valgrind: fix build failure on uml Signed-off-by: Nicolas Thill Backport of r42229 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42372 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind/Makefile index a55fb40..0074ad4 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)