• 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/ipset/0001-Do-not-pass-Werror-when-enable-debug-is-used.patch
Thomas PetazzoniThomas Petazzoni committed a923b44112a26 Oct 2014
Raw file
Source viewDiff to previous
 
1
From f31bb2561776ad2ce4b77339da6fbfc9e3b2ffbb Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Sun, 26 Oct 2014 14:18:29 +0100
4
Subject: [PATCH] Do not pass -Werror when --enable-debug is used
5
​
6
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7
---
8
 Make_global.am | 2 +-
9
 configure.ac   | 1 -
10
 2 files changed, 1 insertion(+), 2 deletions(-)
11
​
12
diff --git a/Make_global.am b/Make_global.am
13
index 7953451..25c4d64 100644
14
--- a/Make_global.am
15
+++ b/Make_global.am
16
@@ -77,7 +77,7 @@ AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \
17
 AM_CFLAGS = -std=gnu99
18
 
19
 if ENABLE_DEBUG
20
-AM_CFLAGS += -g -g3 -ggdb -gdwarf-2 -DIPSET_DEBUG -Wall -Werror
21
+AM_CFLAGS += -g -g3 -ggdb -gdwarf-2 -DIPSET_DEBUG -Wall
22
 else
23
 AM_CFLAGS += -O2 -DNDEBUG
24
 endif
25
diff --git a/configure.ac b/configure.ac
26
index 8fdac15..ee3b147 100644
27
--- a/configure.ac
28
+++ b/configure.ac
29
@@ -345,7 +345,6 @@ AX_CFLAGS_GCC_OPTION(-Waggregate-return)
30
 AX_CFLAGS_GCC_OPTION(-Wbad-function-cast)
31
 AX_CFLAGS_GCC_OPTION(-Wcast-align)
32
 AX_CFLAGS_GCC_OPTION(-Wcast-qual)
33
-AX_CFLAGS_GCC_OPTION(-Werror)
34
 AX_CFLAGS_GCC_OPTION(-Wextra)
35
 AX_CFLAGS_GCC_OPTION(-Wfloat-equal)
36
 AX_CFLAGS_GCC_OPTION(-Wformat=2)
37
-- 
38
2.0.0
39
​
  • 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.