• 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/crda/0003-drop-werror.patch
Jörg KrauseJörg Krause committed 3413023302301 May 2016
Raw file
Source viewDiff to previous
 
1
From f38253e066dee96b148be1b79a6b4a696ee0ae0b Mon Sep 17 00:00:00 2001
2
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
3
Date: Sun, 1 May 2016 10:05:48 +0200
4
Subject: [PATCH] drop werror
5
MIME-Version: 1.0
6
Content-Type: text/plain; charset=UTF-8
7
Content-Transfer-Encoding: 8bit
8
​
9
Building crda with GCC 6 fails because of all compiler warnings are treated as
10
errors. Disable the compiler option '-Werror':
11
​
12
keys-gcrypt.c:94:32: error: ‘keys’ defined but not used [-Werror=unused-const-variable=]
13
 static const struct key_params keys[] = {
14
                                ^~~~
15
cc1: all warnings being treated as errors
16
​
17
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
18
---
19
 Makefile | 2 +-
20
 1 file changed, 1 insertion(+), 1 deletion(-)
21
​
22
diff --git a/Makefile b/Makefile
23
index 74f1172..e9b417f 100644
24
--- a/Makefile
25
+++ b/Makefile
26
@@ -26,7 +26,7 @@ PUBKEY_DIR?=pubkeys
27
 RUNTIME_PUBKEY_DIR?=/etc/wireless-regdb/pubkeys
28
 
29
 CFLAGS += -O2 -fpic
30
-CFLAGS += -std=gnu99 -Wall -Werror -pedantic
31
+CFLAGS += -std=gnu99 -Wall -pedantic
32
 CFLAGS += -Wall -g
33
 LDLIBREG += -lreg
34
 LDLIBS += $(LDLIBREG)
35
-- 
36
2.8.2
37
​
  • 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.