aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/Makefile
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-18 18:13:57 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-18 18:13:57 +0100
commit2b30fc3c70a02875b9d2c8b9b1b28917f343dca3 (patch)
treecc560e591363020b0516b73a293912dbdc1b387c /tools/python/Makefile
parentbc29b3f70e402f9c2a5907f335d9cb4fc1fbba43 (diff)
downloadxen-2b30fc3c70a02875b9d2c8b9b1b28917f343dca3.tar.gz
xen-2b30fc3c70a02875b9d2c8b9b1b28917f343dca3.tar.bz2
xen-2b30fc3c70a02875b9d2c8b9b1b28917f343dca3.zip
[SOLARIS] More tools fixes.
Many of the tools use C99 features such as bool, or expect certain functions. Fix the CFLAGS to enable these on Solaris. Also make sure the correct $CC is passed to Python. Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r--tools/python/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile
index e73d624414..6b84446ee6 100644
--- a/tools/python/Makefile
+++ b/tools/python/Makefile
@@ -6,15 +6,15 @@ all: build
.PHONY: build
build:
- CFLAGS="$(CFLAGS)" python setup.py build
+ CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build
.PHONY: install
ifndef XEN_PYTHON_NATIVE_INSTALL
install: all
- CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --force
+ CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --force
else
install: all
- CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force
+ CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force
endif
.PHONY: test