• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/acpica/0001-build-do-not-use-Werror.patch
Vicente Olivert RieraVicente Olivert Riera committed cb75d8167fc02 Jun 2017
Raw file
Source viewDiff to previous
 
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
5
​
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.
9
​
10
Remove use of -Werror.
11
​
12
[Vincent: tweak patch for 20170531 release]
13
​
14
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
15
Signed-off-by: "Vicente Olivert Riera" <Vincent.Riera@imgtec.com>
16
---
17
 generate/unix/Makefile.config |  1 -
18
 generate/unix/iasl/Makefile   | 12 ++++++------
19
 2 files changed, 6 insertions(+), 7 deletions(-)
20
​
21
diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
22
index 4d4f182..a7120e3 100644
23
--- a/generate/unix/Makefile.config
24
+++ b/generate/unix/Makefile.config
25
@@ -194,7 +194,6 @@ CWARNINGFLAGS = \
26
     -Wall\
27
     -Wbad-function-cast\
28
     -Wdeclaration-after-statement\
29
-    -Werror\
30
     -Wformat=2\
31
     -Wmissing-declarations\
32
     -Wmissing-prototypes\
33
diff --git a/generate/unix/iasl/Makefile b/generate/unix/iasl/Makefile
34
index 156c23a..28ffc06 100644
35
--- a/generate/unix/iasl/Makefile
36
+++ b/generate/unix/iasl/Makefile
37
@@ -335,24 +335,24 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prparser.y.h :       $(ASL_COMPILER)/prparse
38
 #
39
 $(OBJDIR)/aslcompilerlex.o :   $(OBJDIR)/aslcompilerlex.c
40
    @echo "- " "Intermediate" $<
41
-   @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
42
+   @$(CC) -c $(CFLAGS) -Wall -o$@ $<
43
 
44
 $(OBJDIR)/aslcompilerparse.o : $(OBJDIR)/aslcompilerparse.c
45
    @echo "- " "Intermediate" $<
46
-   @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
47
+   @$(CC) -c $(CFLAGS) -Wall -o$@ $<
48
 
49
 $(OBJDIR)/dtparserlex.o :      $(OBJDIR)/dtparserlex.c
50
    @echo "- " "Intermediate" $<
51
-   @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
52
+   @$(CC) -c $(CFLAGS) -Wall -o$@ $<
53
 
54
 $(OBJDIR)/dtparserparse.o :    $(OBJDIR)/dtparserparse.c
55
    @echo "- " "Intermediate" $<
56
-   @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
57
+   @$(CC) -c $(CFLAGS) -Wall -o$@ $<
58
 
59
 $(OBJDIR)/prparserlex.o :      $(OBJDIR)/prparserlex.c
60
    @echo "- " "Intermediate" $<
61
-   @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
62
+   @$(CC) -c $(CFLAGS) -Wall -o$@ $<
63
 
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.