Fix FTBFS with newer gcc 4.6
authorGuillem Jover <guillem@debian.org>
Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)
committerGuillem Jover <guillem@debian.org>
Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)
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 f4777374e3de3dae5e836d3460aa135b4e8f5632..efd255a39c7d968cc12410f1f9ca1756477c15ef 100644 (file)
@@ -6,7 +6,7 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
 HARNESS_SRCS:=main.c
 # io_queue.c
 
-CFLAGS+=-Wall -Werror -I../src -g -O2 -DPAGE_SIZE=$(shell getconf PAGESIZE)
+CFLAGS+=-Wall -I../src -g -O2 -DPAGE_SIZE=$(shell getconf PAGESIZE)
 #-lpthread -lrt
 
 all: $(PROGS)