python-cryptography: bump to version 1.7.2
[buildroot-gz.git] / package / acpica / 0001-build-do-not-use-Werror.patch
blob4ccb4d4d3409ddce62c160a6639d6bb9401ff3c9
1 From 9382ae2431d2962c430e7149302c8690f5bc159c Mon Sep 17 00:00:00 2001
2 From: "Yann E. MORIN" <yann.morin.1998@free.fr>
3 Date: Sun, 10 Jul 2016 15:06:15 +0200
4 Subject: [PATCH] build: do not use -Werror
6 Warnings come and go with various compiler versions, so using -Werror is
7 prone to cause build failures with various compiler versions, especially
8 newer versions that introduce new warnings.
10 Remove use of -Werror.
12 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
13 ---
14 generate/unix/Makefile.config | 1 -
15 generate/unix/iasl/Makefile | 12 ++++++------
16 2 files changed, 6 insertions(+), 7 deletions(-)
18 diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
19 index da0f61d..1476e27 100644
20 --- a/generate/unix/Makefile.config
21 +++ b/generate/unix/Makefile.config
22 @@ -185,7 +185,6 @@ CWARNINGFLAGS = \
23 -Wall\
24 -Wbad-function-cast\
25 -Wdeclaration-after-statement\
26 - -Werror\
27 -Wformat=2\
28 -Wmissing-declarations\
29 -Wmissing-prototypes\
30 diff --git a/generate/unix/iasl/Makefile b/generate/unix/iasl/Makefile
31 index a3759cc..c2dc8f0 100644
32 --- a/generate/unix/iasl/Makefile
33 +++ b/generate/unix/iasl/Makefile
34 @@ -320,19 +320,19 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prparser.y.h : $(ASL_COMPILER)/prparse
35 # by the utilities above and they are not necessarily ANSI C, etc.
37 $(OBJDIR)/aslcompilerlex.o : $(OBJDIR)/aslcompilerlex.c
38 - $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
39 + $(CC) -c $(CFLAGS) -Wall -o$@ $<
41 $(OBJDIR)/aslcompilerparse.o : $(OBJDIR)/aslcompilerparse.c
42 - $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
43 + $(CC) -c $(CFLAGS) -Wall -o$@ $<
45 $(OBJDIR)/dtparserlex.o : $(OBJDIR)/dtparserlex.c
46 - $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
47 + $(CC) -c $(CFLAGS) -Wall -o$@ $<
49 $(OBJDIR)/dtparserparse.o : $(OBJDIR)/dtparserparse.c
50 - $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
51 + $(CC) -c $(CFLAGS) -Wall -o$@ $<
53 $(OBJDIR)/prparserlex.o : $(OBJDIR)/prparserlex.c
54 - $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
55 + $(CC) -c $(CFLAGS) -Wall -o$@ $<
57 $(OBJDIR)/prparserparse.o : $(OBJDIR)/prparserparse.c
58 - $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
59 + $(CC) -c $(CFLAGS) -Wall -o$@ $<
60 --
61 2.7.4