瀏覽代碼

valgrind: fix build failure on uml

Signed-off-by: Nicolas Thill <[email protected]>

SVN-Revision: 42229
Nicolas Thill 11 年之前
父節點
當前提交
62ae2d1af1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/devel/valgrind/Makefile

+ 1 - 1
package/devel/valgrind/Makefile

@@ -77,7 +77,7 @@ define Package/valgrind/description
 	to speed up and reduce memory use of your programs.
 	to speed up and reduce memory use of your programs.
 endef
 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 += \
 CONFIGURE_VARS += \
 	UNAME_R=$(LINUX_VERSION)
 	UNAME_R=$(LINUX_VERSION)