blob: 9c1f9fa25af8c768105a66d94d5b75fd1580834d [file] [log] [blame]
Fabio Bertona066f132015-10-15 15:11:46 -03001Upstream-Status: Pending
2
3Fix error: "cc1: all warnings being treated as errors"
4
5Subject: [PATCH 3/3] Remove Werror from Makefile
6Organization: O.S. Systems Software LTDA.
7
8Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
9---
10 Makefile | 2 +-
11 xpp/Makefile | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/Makefile b/Makefile
15index 69741e6..1a5eefc 100644
16--- a/Makefile
17+++ b/Makefile
18@@ -27,7 +27,7 @@ CFLAGS+=-m64
19 endif
20
21 ifeq ($(DAHDI_DEVMODE),yes)
22- CFLAGS+=-Werror -Wunused -Wundef $(DAHDI_DECLARATION_AFTER_STATEMENT) -Wmissing-format-attribute -Wformat-security #-Wformat=2
23+ CFLAGS+= -Wunused -Wundef $(DAHDI_DECLARATION_AFTER_STATEMENT) -Wmissing-format-attribute -Wformat-security #-Wformat=2
24 endif
25
26 ROOT_PREFIX=
27diff --git a/xpp/Makefile b/xpp/Makefile
28index 8e8b6c9..001e476 100644
29--- a/xpp/Makefile
30+++ b/xpp/Makefile
31@@ -146,7 +146,7 @@ ifneq (,$(PERLLIBDIR))
32 done
33 endif
34
35-CFLAGS += -I. -Ixtalk -Wall -Werror
36+CFLAGS += -I. -Ixtalk -Wall
37
38 astribank_hexload: $(ABHEXLOAD_OBJS)
39 astribank_hexload: LIBS+=$(EXTRA_LIBS) $(USB_LIB)
40--
412.1.4
42