From 2f885fa9cc94101e7289f7ea42e8df8bc0297a4f Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 24 Mar 2011 13:35:58 +0000 Subject: tools/xenstat: 23075:b4351d57464b added libxenstat.so but didn't build fPIC This broke on x86_64. Reported-by: Olaf Hering Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson --- tools/xenstat/libxenstat/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/xenstat') diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile index 4213b59aed..b670ced094 100644 --- a/tools/xenstat/libxenstat/Makefile +++ b/tools/xenstat/libxenstat/Makefile @@ -36,6 +36,7 @@ SONAME_FLAGS=-Wl,$(SONAME_LDFLAG) -Wl,libxenstat.so.$(MAJOR) WARN_FLAGS=-Wall -Werror +CFLAGS+=-fPIC CFLAGS+=-Isrc $(CFLAGS_libxenctrl) $(CFLAGS_libxenstore) $(CFLAGS_xeninclude) LDLIBS-y = $(LDLIBS_libxenstore) $(LDLIBS_libxenctrl) -- cgit v1.2.3