ia64/xen-unstable

changeset 11928:56f8bf333ef3

Use $CC when building pygrub.
Signed-off-by: John Levon <john.levon@sun.com>
author kaf24@localhost.localdomain
date Sun Oct 22 17:36:28 2006 +0100 (2006-10-22)
parents f575d675cda4
children 8113c55a6efd
files tools/pygrub/Makefile
line diff
     1.1 --- a/tools/pygrub/Makefile	Sun Oct 22 17:34:24 2006 +0100
     1.2 +++ b/tools/pygrub/Makefile	Sun Oct 22 17:36:28 2006 +0100
     1.3 @@ -6,16 +6,16 @@ include $(XEN_ROOT)/tools/Rules.mk
     1.4  all: build
     1.5  .PHONY: build
     1.6  build:
     1.7 -	CFLAGS="$(CFLAGS)" python setup.py build
     1.8 +	CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build
     1.9  
    1.10  .PHONY: install
    1.11  ifndef XEN_PYTHON_NATIVE_INSTALL
    1.12  install: all
    1.13 -	CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix=""
    1.14 +	CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix=""
    1.15  	$(INSTALL_DIR) -p $(DESTDIR)/var/lib/xen
    1.16  else
    1.17  install: all
    1.18 -	CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
    1.19 +	CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
    1.20  	$(INSTALL_DIR) -p $(DESTDIR)/var/lib/xen
    1.21  endif
    1.22