Fabio Berton | a066f13 | 2015-10-15 15:11:46 -0300 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | Fix error: "cc1: all warnings being treated as errors" |
| 4 | |
| 5 | Subject: [PATCH 3/3] Remove Werror from Makefile |
| 6 | Organization: O.S. Systems Software LTDA. |
| 7 | |
| 8 | Signed-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 | |
| 14 | diff --git a/Makefile b/Makefile |
| 15 | index 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= |
| 27 | diff --git a/xpp/Makefile b/xpp/Makefile |
| 28 | index 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 | -- |
| 41 | 2.1.4 |
| 42 | |