From: Guillem Jover Date: Sun, 12 Apr 2020 02:00:03 +0000 (+0200) Subject: [PATCH libaio 10/11] build: Do not use -Werror by default X-Git-Tag: archive/raspbian/0.3.112-13+rpi1~1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d7c656ac3c43ed0cb07c3fb93a13c8ca26afc91d;p=libaio.git [PATCH libaio 10/11] build: Do not use -Werror by default 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 Gbp-Pq: Name 0010-build-Do-not-use-Werror-by-default.patch --- diff --git a/harness/Makefile b/harness/Makefile index 21a9c72..403eb73 100644 --- a/harness/Makefile +++ b/harness/Makefile @@ -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