[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>
Tue, 2 Nov 2021 23:56:45 +0000 (23: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 21a9c7276aed5eff39b501cf163158b72a5d6673..403eb732e803d0513a4385426089416d30e492e0 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