From: Olaf Hering Date: Mon, 28 Jul 2014 10:42:52 +0000 (+0200) Subject: tools: remove duplicate -Wall from CFLAGS X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4526 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bbc6fa96ed786a62e3f602235c3c62bfeb05003f;p=xen.git tools: remove duplicate -Wall from CFLAGS CFLAGS+=-Wall is already provided by Config.mk WARN_FLAGS is not used. Signed-off-by: Olaf Hering Acked-by: Ian Campbell --- diff --git a/tools/flask/utils/Makefile b/tools/flask/utils/Makefile index dfeb8f7438..c87f15c5c1 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 15dc22dc61..f64a45c773 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 e78166ef96..18bccb6028 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)