packages/libs/zaptel-1.4.x/patches/330-uname_m.patch
florian 5151878443 [package] zaptel-1.4.x: fix build failure, refresh patches move to "Voice over IP"
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 18:40:32 +00:00

16 lines
290 B
Diff

---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ ARCH:=$(shell uname -m | sed -e s/i.86/i
endif
ifeq ($(DEB_HOST_GNU_TYPE),)
-UNAME_M:=$(shell uname -m)
+UNAME_M:=$(ARCH)
else
UNAME_M:=$(DEB_HOST_GNU_TYPE)
endif