From: Olaf Hering Subject: [PATCH] tools: remove duplicate -Wall from CFLAGS Date: Mon, 28 Jul 2014 12:42:52 +0200 Message-ID: <1406544172-14505-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Daniel De Graaf , Olaf Hering , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org CFLAGS+=-Wall is already provided by Config.mk WARN_FLAGS is not used. Signed-off-by: Olaf Hering --- tools/flask/utils/Makefile | 2 +- tools/xenstat/libxenstat/Makefile | 2 -- tools/xenstat/xentop/Makefile | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/flask/utils/Makefile b/tools/flask/utils/Makefile index dfeb8f7..c87f15c 100644 --- a/tools/flask/utils/Makefile +++ b/tools/flask/utils/Makefile @@ -1,7 +1,7 @@ XEN_ROOT=$(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk -CFLAGS += -Wall -Werror +CFLAGS += -Werror CFLAGS += $(CFLAGS_libxenctrl) TESTDIR = testsuite/tmp diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile index 15dc22d..f64a45c 100644 --- a/tools/xenstat/libxenstat/Makefile +++ b/tools/xenstat/libxenstat/Makefile @@ -35,8 +35,6 @@ OBJECTS-$(CONFIG_NetBSD) += src/xenstat_netbsd.o OBJECTS-$(CONFIG_FreeBSD) += src/xenstat_freebsd.o SONAME_FLAGS=-Wl,$(SONAME_LDFLAG) -Wl,libxenstat.so.$(MAJOR) -WARN_FLAGS=-Wall -Werror - CFLAGS+=-fPIC CFLAGS+=-Isrc $(CFLAGS_libxenctrl) $(CFLAGS_libxenstore) $(CFLAGS_xeninclude) diff --git a/tools/xenstat/xentop/Makefile b/tools/xenstat/xentop/Makefile index e78166e..18bccb6 100644 --- a/tools/xenstat/xentop/Makefile +++ b/tools/xenstat/xentop/Makefile @@ -18,7 +18,7 @@ ifneq ($(XENSTAT_XENTOP),y) all install xentop: else -CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat) +CFLAGS += -DGCC_PRINTF -Werror $(CFLAGS_libxenstat) LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS) CFLAGS += -DHOST_$(XEN_OS)