# HG changeset patch # User john.levon@sun.com # Date 1161471617 25200 # Node ID acf7ff759bd2e87500292df9bed64ef14d80ab86 # Parent 5acda5c430f8f57c3156ae8908648ae19f1aa410 Ensure $CC is used for pygrub as well. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile --- a/tools/pygrub/Makefile +++ b/tools/pygrub/Makefile @@ -6,16 +6,16 @@ all: build 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="" + CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" $(INSTALL_DIR) $(DESTDIR)/var/lib/xen else install: all - CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" + CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" $(INSTALL_DIR) $(DESTDIR)/var/lib/xen endif _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel