[package] fix zaptel compilation on non-64bits platforms, should not break x86_64
[openwrt/svn-archive/archive.git] / libs / zaptel-1.4.x / patches / 330-remove_m64_switch.patch
1 diff -urN zaptel-1.4.9.2/Makefile zaptel-1.4.9.2.new/Makefile
2 --- zaptel-1.4.9.2/Makefile 2008-02-22 01:31:47.000000000 +0100
3 +++ zaptel-1.4.9.2.new/Makefile 2009-02-03 14:24:25.000000000 +0100
4 @@ -135,9 +135,6 @@
5 ifneq (,$(findstring ppc,$(UNAME_M)))
6 CFLAGS_PPC:=-fsigned-char
7 endif
8 -ifneq (,$(findstring x86_64,$(UNAME_M)))
9 -CFLAGS_x86_64:=-m64
10 -endif
11 CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_x86_64)
12 KFLAGS=-I$(KINCLUDES) -O6
13 KFLAGS+=-DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I$(KSRC)/drivers/net \