summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-26 08:25:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-26 08:27:59 +0100
commitc7b399cc18e00007e02077500f590ccdd9b6bdc2 (patch)
tree2d77361a17dc29df52592bf367684783d5305c51 /package/iproute2/patches/patch-Makefile
parent1aa6b322192aca7dae7a45fd2442b438db2f20cc (diff)
iproute2: update to 4.9.0
Diffstat (limited to 'package/iproute2/patches/patch-Makefile')
-rw-r--r--package/iproute2/patches/patch-Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/iproute2/patches/patch-Makefile b/package/iproute2/patches/patch-Makefile
index 36aab123c..42d2fa409 100644
--- a/package/iproute2/patches/patch-Makefile
+++ b/package/iproute2/patches/patch-Makefile
@@ -1,12 +1,12 @@
---- iproute2-4.1.0.orig/Makefile 2015-06-26 21:28:25.000000000 +0200
-+++ iproute2-4.1.0/Makefile 2015-06-29 20:01:56.000000000 +0200
-@@ -29,16 +29,16 @@ ADDLIB+=ipx_ntop.o ipx_pton.o
+--- iproute2-4.9.0.orig/Makefile 2016-12-13 00:07:42.000000000 +0100
++++ iproute2-4.9.0/Makefile 2016-12-26 01:29:53.041215929 +0100
+@@ -34,16 +34,16 @@ ADDLIB+=ipx_ntop.o ipx_pton.o
#options for mpls
ADDLIB+=mpls_ntop.o mpls_pton.o
--CC = gcc
+-CC := gcc
+CC ?= gcc
- HOSTCC = gcc
+ HOSTCC ?= $(CC)
DEFINES += -D_GNU_SOURCE
# Turn on transparent support for LFS
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
@@ -15,8 +15,8 @@
WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2
-CFLAGS := $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(CFLAGS)
-+CFLAGS ?=
++CFLAGS ?=
+CFLAGS += $(WFLAGS) -I../include $(DEFINES)
YACCFLAGS = -d -t -v
- SUBDIRS=lib ip tc bridge misc netem genl tipc man
+ SUBDIRS=lib ip tc bridge misc netem genl tipc devlink man