diff options
author | Baruch Siach <baruch@tkos.co.il> | 2014-04-28 13:53:56 +0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-04-28 14:09:20 +0200 |
commit | 913cf72c80ee8305aa867d52d73be6aa8d67727e (patch) | |
tree | 3cbc2dd8ed7e08eb976d0626ae60b5ee00bd8b67 | |
parent | 0a0947ce96bda22e81f60544c3ae9f37ed7fab7d (diff) | |
download | buildroot-913cf72c80ee8305aa867d52d73be6aa8d67727e.tar.gz buildroot-913cf72c80ee8305aa867d52d73be6aa8d67727e.zip |
dtc: don't treat warnings as errors
Fixes:
http://autobuild.buildroot.net/results/c1e/c1e0764f27e6c842a2a324b7b2dc5052ff10f13b/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/dtc/dtc-extra_cflags.patch | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/package/dtc/dtc-extra_cflags.patch b/package/dtc/dtc-extra_cflags.patch index 3ce699b5d8..51b79572e8 100644 --- a/package/dtc/dtc-extra_cflags.patch +++ b/package/dtc/dtc-extra_cflags.patch @@ -13,12 +13,16 @@ Patch not sent upstream. Although not specific to buildroot, I am not sure this is the best way to handle user-supplied CFLAGS. -diff -durN dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef.orig/Makefile dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef/Makefile ---- dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef.orig/Makefile 2012-10-22 22:02:47.541240846 +0200 -+++ dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef/Makefile 2012-10-22 22:03:21.151047833 +0200 -@@ -18,7 +18,8 @@ +diff --git a/Makefile b/Makefile +index 962f94eba661..bf6b317158cf 100644 +--- a/Makefile ++++ b/Makefile +@@ -16,9 +16,10 @@ LOCAL_VERSION = + CONFIG_LOCALVERSION = + CPPFLAGS = -I libfdt -I . - WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ +-WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ ++WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -CFLAGS = -g -Os -fPIC -Werror $(WARNINGS) +CFLAGS ?= -g -Os |