[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, 24 Dec 2020 14:41:17 +0000 (14:41 +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 5cc2b25d6299968e9729b46aed58fa12db5b9ae5..84e03a62e3bec65ab560fb1652348c435a4f338d 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
 
 # Change this on the build line to run tests against the installed libraries: