• 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/elfutils/0005-really-make-werror-conditional-to-build-werror.patch
Vicente Olivert RieraVicente Olivert Riera committed 794ae61a15f17 Jun 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Really make -Werror conditional to BUILD_WERROR
2
​
3
Otherwise it will fail with an error message like this one:
4
​
5
elf_getarsym.c:290:9: error: 'n' may be used uninitialized in this
6
function [-Werror=maybe-uninitialized]
7
    arsym[n].as_name = NULL;
8
     ^
9
cc1: all warnings being treated as errors
10
​
11
[Vincent: tweak patch for 0.166]
12
​
13
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
14
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
15
​
16
diff -rup a/config/eu.am b/config/eu.am
17
--- a/config/eu.am  2016-03-02 16:25:38.000000000 +0000
18
+++ b/config/eu.am  2016-06-17 15:05:08.270974835 +0100
19
@@ -65,7 +65,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -W
20
        -Wold-style-definition -Wstrict-prototypes \
21
        $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
22
        $(NULL_DEREFERENCE_WARNING) \
23
-       $(if $($(*F)_no_Werror),,-Werror) \
24
        $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
25
        $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
26
        $($(*F)_CFLAGS)
  • 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.