summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-12-22 01:19:50 +0100
committerNico Huber <nico.h@gmx.de>2018-12-22 17:04:27 +0000
commit30c4cecd281e2efe8f77a205793552273c5123ce (patch)
treef85be7e65c93407a5f44db783c5a5e92a60d73d6
parent6b9e934fe56bf8ef70e240ff3ef6634f4dfd589e (diff)
downloadflashrom-git-30c4cecd281e2efe8f77a205793552273c5123ce.tar.gz
Makefile: Disable `-Werror=deprecated-declarations` on release branch
Change-Id: I6ed27b05b8b11f0ae1bcd331148cd61381edb8a0 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/30373 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9cf52b22..7fcccd84 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ CONFIG_DEFAULT_PROGRAMMER_ARGS ?= ''
WARNERROR ?= yes
ifeq ($(WARNERROR), yes)
-CFLAGS += -Werror
+CFLAGS += -Werror -Wno-error=deprecated-declarations
endif
ifdef LIBS_BASE