diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-03-24 13:35:58 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-03-24 13:35:58 +0000 |
commit | 2f885fa9cc94101e7289f7ea42e8df8bc0297a4f (patch) | |
tree | c07155e2d9f6e8f3ce9f3c6a9c16766350c3ac22 | |
parent | fccd8d300d843d539052f453e019e880f8f825e2 (diff) | |
download | xen-2f885fa9cc94101e7289f7ea42e8df8bc0297a4f.tar.gz xen-2f885fa9cc94101e7289f7ea42e8df8bc0297a4f.tar.bz2 xen-2f885fa9cc94101e7289f7ea42e8df8bc0297a4f.zip |
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 <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
-rw-r--r-- | tools/xenstat/libxenstat/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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) |