[PATCH libaio 10/11] build: Do not use -Werror by default
authorGuillem Jover <guillem@hadrons.org>
Sun, 12 Apr 2020 02:00:03 +0000 (04:00 +0200)
committerGuillem Jover <guillem@debian.org>
Thu, 11 Nov 2021 03:56:01 +0000 (03:56 +0000)
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.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0010-build-Do-not-use-Werror-by-default.patch

harness/Makefile

index 4f225d3ff3bc816d210b92312136e52381cb93bc..c7ce5ec84d95f502c438948ca1ab5c9a7f94e415 100644 (file)
@@ -6,7 +6,7 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
 HARNESS_SRCS:=main.c
 # io_queue.c
 
-CFLAGS+=-Wall -Werror -I../src -g -O2
+CFLAGS+=-Wall -I../src -g -O2
 #-lpthread -lrt
 
 # gcc-11 does not like the test case in 3.t that