From 16bb6580be39d8a3930f5c9860d4313e36c729a9 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Mon, 23 Feb 2009 23:20:19 +0200 Subject: build: shave it! http://damien.lespiau.name/blog/2009/02/18/shave-making-the-autotools-output-sane/ --- bootstrap.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index e64f3426..4e223e32 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -49,6 +49,10 @@ if ! pkg-config --version &>/dev/null; then exit 1 fi +if type -p colorgcc > /dev/null ; then + export CC=colorgcc +fi + if [ "x$1" = "xam" ] ; then run_versioned automake "$VERSION" -a -c --foreign ./config.status @@ -73,7 +77,7 @@ else run_versioned automake "$VERSION" --copy --foreign --add-missing if test "x$NOCONFIGURE" = "x"; then - CFLAGS="-g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@" + CFLAGS="-g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-force-preopen --enable-shave "$@" make clean fi fi -- cgit