97b26b74c483b6ec2342bf44f9d5ca10abc16edf
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / dropwatch / 0003-remove-werror.patch
1 -Werror shouldn't be used in released code since it can
2 cause random build failures on moderate warnings. It also
3 depends on the used toolchain since different toolchains may
4 or may not print the same warnings.
5
6 Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
7
8 Index: dropwatch-1.4/src/Makefile
9 ===================================================================
10 --- dropwatch-1.4.orig/src/Makefile
11 +++ dropwatch-1.4/src/Makefile
12 @@ -1,5 +1,5 @@
13  all: dropwatch
14 -CFLAGS+=-c -g -D_GNU_SOURCE -Wall -Werror `pkg-config --cflags libnl-3.0`
15 +CFLAGS+=-c -g -D_GNU_SOURCE -Wall `pkg-config --cflags libnl-3.0`
16  LDFLAGS=-lbfd -lreadline -lnl-3 -lnl-genl-3
17  OBJFILES := main.o lookup.o\
18          lookup_bfd.o lookup_kas.o