Discussion:
[PATCH] allow control over the build compiler
Mike Frysinger
2012-04-19 16:25:27 UTC
Permalink
Signed-off-by: Mike Frysinger <vapier-aBrp7R+bbdUdnm+***@public.gmane.org>
---
Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 326744e..bd57a62 100644
--- a/Makefile
+++ b/Makefile
@@ -79,8 +79,9 @@ install: powertop
@(cd po/ && env LOCALESDIR=$(LOCALESDIR) DESTDIR=$(DESTDIR) $(MAKE) $@)


+BUILD_CC ?= gcc
csstoh: csstoh.c
- gcc -o csstoh csstoh.c
+ $(BUILD_CC) -o csstoh csstoh.c

css.h: csstoh powertop.css
./csstoh powertop.css css.h
--
1.7.8.5
Loading...