diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-07-01 10:11:33 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-07-01 10:26:22 +0200 |
commit | 3675485136a789e4185e5ac312b6104f98cdf381 (patch) | |
tree | d509cb09b38261ee75e136ddfc5aa16a3f2ac8a8 /package/iproute2/patches/patch-Makefile | |
parent | e9fa9ed627b7a91e87f05a2b5404ce2d020c56a1 (diff) |
update iproute2 to latest
Diffstat (limited to 'package/iproute2/patches/patch-Makefile')
-rw-r--r-- | package/iproute2/patches/patch-Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/iproute2/patches/patch-Makefile b/package/iproute2/patches/patch-Makefile new file mode 100644 index 000000000..36aab123c --- /dev/null +++ b/package/iproute2/patches/patch-Makefile @@ -0,0 +1,22 @@ +--- 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 + #options for mpls + ADDLIB+=mpls_ntop.o mpls_pton.o + +-CC = gcc ++CC ?= gcc + HOSTCC = gcc + DEFINES += -D_GNU_SOURCE + # Turn on transparent support for LFS + DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE +-CCOPTS = -O2 + WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes + WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2 + +-CFLAGS := $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(CFLAGS) ++CFLAGS ?= ++CFLAGS += $(WFLAGS) -I../include $(DEFINES) + YACCFLAGS = -d -t -v + + SUBDIRS=lib ip tc bridge misc netem genl tipc man |