blob: 4be143afa779f322d27a09e79e983feececdef6b [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001Don't pass -Werror, as new compilers introduce new warnings.
2
3Upstream-Status: Pending
4Signed-off-by: Ross Burton <ross.burton@arm.com>
5
6diff --git a/Makefile b/Makefile
7index c01b120..1d3c30a 100644
8--- a/Makefile
9+++ b/Makefile
10@@ -18,7 +18,7 @@ PROTOBUF_C_FLAGS:= $(shell pkg-config --cflags protobuf)
11 CPPUNIT_C_FLAGS := $(shell pkg-config --cflags cppunit)
12 PROTOBUF_L_FLAGS:= $(shell pkg-config --libs protobuf)
13 CPPUNIT_L_FLAGS := $(shell pkg-config --libs cppunit)
14-CXX_FLAGS := $(PROTOBUF_C_FLAGS) -std=c++11 -Wall -Werror -Wextra -Wno-unused-parameter -Wno-unused-variable $(CPPUNIT_C_FLAGS) -fPIC $(EXTRA_CXX_FLAGS)
15+CXX_FLAGS := $(PROTOBUF_C_FLAGS) -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable $(CPPUNIT_C_FLAGS) -fPIC $(EXTRA_CXX_FLAGS)
16 LD_FLAGS := $(PROTOBUF_L_FLAGS) $(CPPUNIT_L_FLAGS) $(EXTRA_LD_FLAGS)
17 PROTO_SRC_DIR := ./proto/
18 PROTO_SRC := $(wildcard $(PROTO_SRC_DIR)tp*.proto)