packages/libs/zaptel-1.4.x/patches/001-Makefile-arch.patch
agb 66640bbb7e [packages] libs/zaptel-1.4: Fix compilation on 64-bit hosts and clean up makefile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-29 03:38:01 +00:00

15 lines
405 B
Diff

Index: zaptel-1.4.9.2/Makefile
===================================================================
--- zaptel-1.4.9.2.orig/Makefile 2008-08-15 01:42:26.000000000 -0700
+++ zaptel-1.4.9.2/Makefile 2008-08-15 01:42:43.000000000 -0700
@@ -18,7 +18,9 @@
PWD:=$(shell pwd)
endif
+ifndef ARCH
ARCH:=$(shell uname -m | sed -e s/i.86/i386/)
+endif
ifeq ($(DEB_HOST_GNU_TYPE),)
UNAME_M:=$(shell uname -m)