diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2013-10-17 09:33:25 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-10-22 10:49:24 +0200 |
commit | bc3cb0651cce4a911aed54de6e394d3e241ad0b8 (patch) | |
tree | 42223837c33e2ed0f470daff0443e638f227b703 | |
parent | 456b257e814d93080e171fd87d6a7189f6ee686f (diff) | |
download | buildroot-bc3cb0651cce4a911aed54de6e394d3e241ad0b8.tar.gz buildroot-bc3cb0651cce4a911aed54de6e394d3e241ad0b8.zip |
dropwatch: Remove -Werror from CFLAGS
-Werror shouldn't be used in released code since it can
cause random build failures on moderate warnings. It also
depends on the used toolchain since different toolchains may
or may not print the same warnings.
Fixes the following build problem on MIPS64/n64:
main.c: In function handle_dm_alert_msg:
main.c:336:5: error: format %llx expects argument of
type long long unsigned int, but argument 4 has
type __u64 [-Werror=format=]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/dropwatch/dropwatch-03-remove-werror.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/dropwatch/dropwatch-03-remove-werror.patch b/package/dropwatch/dropwatch-03-remove-werror.patch new file mode 100644 index 0000000000..97b26b74c4 --- /dev/null +++ b/package/dropwatch/dropwatch-03-remove-werror.patch @@ -0,0 +1,18 @@ +-Werror shouldn't be used in released code since it can +cause random build failures on moderate warnings. It also +depends on the used toolchain since different toolchains may +or may not print the same warnings. + +Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> + +Index: dropwatch-1.4/src/Makefile +=================================================================== +--- dropwatch-1.4.orig/src/Makefile ++++ dropwatch-1.4/src/Makefile +@@ -1,5 +1,5 @@ + all: dropwatch +-CFLAGS+=-c -g -D_GNU_SOURCE -Wall -Werror `pkg-config --cflags libnl-3.0` ++CFLAGS+=-c -g -D_GNU_SOURCE -Wall `pkg-config --cflags libnl-3.0` + LDFLAGS=-lbfd -lreadline -lnl-3 -lnl-genl-3 + OBJFILES := main.o lookup.o\ + lookup_bfd.o lookup_kas.o |