packages/libs/zaptel-1.4.x/patches/330-uname_m.patch
florian fae8f32479 [package] rework 330-remove_m64_switch patch to be less intrusive, thanks nbd
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 14:19:25 +00:00

13 lines
381 B
Diff

diff -urN zaptel-1.4.9.2/Makefile zaptel-1.4.9.2.new/Makefile
--- zaptel-1.4.9.2/Makefile 2008-02-22 01:31:47.000000000 +0100
+++ zaptel-1.4.9.2.new/Makefile 2009-02-03 15:24:16.000000000 +0100
@@ -21,7 +21,7 @@
ARCH:=$(shell uname -m | sed -e s/i.86/i386/)
ifeq ($(DEB_HOST_GNU_TYPE),)
-UNAME_M:=$(shell uname -m)
+UNAME_M:=$(ARCH)
else
UNAME_M:=$(DEB_HOST_GNU_TYPE)
endif