debian/rules.d/tools/perf/Makefile: Disable -Werror by setting WERROR=0

Setting EXTRA_WARNINGS to disable perf building with -Werror stopped
working some time ago.  The make variable we should set now is WERROR.
This commit is contained in:
Ben Hutchings 2018-11-11 19:14:08 +00:00
parent f100f671db
commit bd8699bf7f
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ else ifeq ($(KERNEL_ARCH),x86)
endif
endif
MAKE_PERF := $(MAKE) O=$(CURDIR) prefix=/usr V=1 VF=1 ARCH=$(KERNEL_ARCH) EXTRA_WARNINGS=-Wno-error EXTRA_CFLAGS='$(CFLAGS) $(CPPFLAGS)' LDFLAGS='$(LDFLAGS)'
MAKE_PERF := $(MAKE) O=$(CURDIR) prefix=/usr V=1 VF=1 ARCH=$(KERNEL_ARCH) WERROR=0 EXTRA_CFLAGS='$(CFLAGS) $(CPPFLAGS)' LDFLAGS='$(LDFLAGS)'
# Disable Gtk UI until it's more usable
MAKE_PERF += NO_GTK2=1