projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iproute2: workaround compile issues with gcc 4.8.x
[openwrt/openwrt.git]
/
package
/
network
/
utils
/
iproute2
/
patches
/
110-extra-ccopts.patch
diff --git
a/package/network/utils/iproute2/patches/110-extra-ccopts.patch
b/package/network/utils/iproute2/patches/110-extra-ccopts.patch
index af38fe19894d1a1831fd5e434659e6990c998b40..71ec957ad0c83895e7dad774716f55e4ab82fbb6 100644
(file)
--- a/
package/network/utils/iproute2/patches/110-extra-ccopts.patch
+++ b/
package/network/utils/iproute2/patches/110-extra-ccopts.patch
@@
-6,6
+6,6
@@
DEFINES += -D_GNU_SOURCE
-CCOPTS = -O2
+CCOPTS = -O2 $(EXTRA_CCOPTS)
DEFINES += -D_GNU_SOURCE
-CCOPTS = -O2
+CCOPTS = -O2 $(EXTRA_CCOPTS)
- WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
- WFLAGS += -Wmissing-declarations -Wold-style-definition
+ WFLAGS := -Wall -Wstrict-prototypes
+ CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)