From c3b2a51955f0358ad8da6407bfe9d784378ea9d7 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 3 Feb 2009 14:11:33 +0000 Subject: [PATCH] [package] fix zaptel compilation on non-64bits platforms, should not break x86_64 git-svn-id: svn://svn.openwrt.org/openwrt/packages@14388 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/330-remove_m64_switch.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libs/zaptel-1.4.x/patches/330-remove_m64_switch.patch diff --git a/libs/zaptel-1.4.x/patches/330-remove_m64_switch.patch b/libs/zaptel-1.4.x/patches/330-remove_m64_switch.patch new file mode 100644 index 000000000..b2c5b2468 --- /dev/null +++ b/libs/zaptel-1.4.x/patches/330-remove_m64_switch.patch @@ -0,0 +1,13 @@ +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 14:24:25.000000000 +0100 +@@ -135,9 +135,6 @@ + ifneq (,$(findstring ppc,$(UNAME_M))) + CFLAGS_PPC:=-fsigned-char + endif +-ifneq (,$(findstring x86_64,$(UNAME_M))) +-CFLAGS_x86_64:=-m64 +-endif + CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_x86_64) + KFLAGS=-I$(KINCLUDES) -O6 + KFLAGS+=-DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I$(KSRC)/drivers/net \