Browse Source

workaround compile error for avr32

Waldemar Brodkorb 11 years ago
parent
commit
f96744e567
2 changed files with 12 additions and 1 deletions
  1. 1 1
      package/iproute2/Makefile
  2. 11 0
      package/iproute2/patches/patch-Makefile

+ 1 - 1
package/iproute2/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		iproute2
 PKG_VERSION:=		3.10.0
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		45fb5427fc723a0001c72b92c931ba02
 PKG_DESCR:=		iproute2 routing control utility
 PKG_SECTION:=		route

+ 11 - 0
package/iproute2/patches/patch-Makefile

@@ -0,0 +1,11 @@
+--- iproute2-3.10.0.orig/Makefile	2013-07-16 19:06:36.000000000 +0200
++++ iproute2-3.10.0/Makefile	2013-10-10 15:30:09.000000000 +0200
+@@ -30,7 +30,7 @@ CC = gcc
+ HOSTCC = gcc
+ DEFINES += -D_GNU_SOURCE
+ CCOPTS = -O2
+-WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
++WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
+ WFLAGS += -Wmissing-declarations -Wold-style-definition
+ 
+ CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)