recipes: Preserve warnings flags appending the C flags in some (specific) recipes
[dragora.git] / patches / libaio / 0010-build-Do-not-use-Werror-by-default.patch
blobf0a759bc1cbf3407b8e5252be15027f3b728841f
1 From 4246fcf2c0c1c6518a5689c8a0ee2662f67c4030 Mon Sep 17 00:00:00 2001
2 From: Guillem Jover <guillem@hadrons.org>
3 Date: Sun, 12 Apr 2020 04:00:03 +0200
4 Subject: [PATCH libaio 10/11] build: Do not use -Werror by default
6 Using -Werror on a released project is in general not a good idea, as
7 changes in the toolchain and environment can trigger unexpected build
8 failures.
10 Signed-off-by: Guillem Jover <guillem@hadrons.org>
11 ---
12 harness/Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/harness/Makefile b/harness/Makefile
16 index 5cc2b25..84e03a6 100644
17 --- a/harness/Makefile
18 +++ b/harness/Makefile
19 @@ -6,7 +6,7 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
20 HARNESS_SRCS:=main.c
21 # io_queue.c
23 -CFLAGS+=-Wall -Werror -I../src -g -O2
24 +CFLAGS+=-Wall -I../src -g -O2
25 #-lpthread -lrt
27 # Change this on the build line to run tests against the installed libraries:
28 --
29 2.26.0.292.g33ef6b2f38