[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] pass $CC to python for pygrub
# HG changeset patch # User john.levon@xxxxxxx # Date 1161471617 25200 # Node ID acf7ff759bd2e87500292df9bed64ef14d80ab86 # Parent 5acda5c430f8f57c3156ae8908648ae19f1aa410 Ensure $CC is used for pygrub as well. Signed-off-by: John Levon <john.levon@xxxxxxx> 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@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |