Fix FTBFS with newer gcc 4.6
authorGuillem Jover <guillem@debian.org>
Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)
committerGuillem Jover <guillem@debian.org>
Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)
Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

Using -Werror on a released project is in general not a good idea, as changes
in the toolchain and environment can trigger unexpected build failures.

Gbp-Pq: Name 04_no_Werror.patch

harness/Makefile

index 2a88e71fda1443ee8131c279186c4a65f84cfc4a..6f1f3a143c1dc8b3eea0c4e022ab6908484e8968 100644 (file)
@@ -6,7 +6,7 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
 HARNESS_SRCS:=main.c
 # io_queue.c
 
-CFLAGS+=-Wall -Werror -I../src -g -O
+CFLAGS+=-Wall -I../src -g -O
 #-lpthread -lrt
 
 all: $(PROGS)