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^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fdf73b555628d5c034d86364d580cc1edf99ca99;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 4f225d3..c7ce5ec 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