From 7308e97492e0bea0a4d84b92e0c08784a061abef Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sun, 27 Jan 2008 12:58:02 +0000 Subject: Define CFLAGS and LDFLAGS for libxenguest. Signed-off-by: Bastian Blank --- tools/xcutils/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools/xcutils') diff --git a/tools/xcutils/Makefile b/tools/xcutils/Makefile index 24fa8849f8..cc9e7a606a 100644 --- a/tools/xcutils/Makefile +++ b/tools/xcutils/Makefile @@ -11,10 +11,8 @@ XEN_ROOT = ../.. include $(XEN_ROOT)/tools/Rules.mk -INCLUDES += $(CFLAGS_libxenctrl) -I $(XEN_XENSTORE) -I$(XEN_INCLUDE) - CFLAGS += -Werror -CFLAGS += $(INCLUDES) +CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) -I$(XEN_XENSTORE) # Make gcc generate dependencies. CFLAGS += -Wp,-MD,.$(@F).d @@ -22,7 +20,7 @@ PROG_DEP = .*.d PROGRAMS = xc_restore xc_save readnotes -LDLIBS = $(LDFLAGS_libxenctrl) -L$(XEN_XENSTORE) -lxenguest -lxenstore +LDLIBS = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) -L$(XEN_XENSTORE) -lxenstore .PHONY: all all: build -- cgit v1.2.3