Package: git-core
Version: 1:1.6.5.2-1
Severity: wishlist

-- %< --
Subject: debian/rules: log $(CC) version, not gcc

It is more useful to include "gcc-4.4 -v" output than "gcc -v"
when building with CC=gcc-4.4.

Signed-off-by: Jonathan Nieder <jrnie...@gmail.com>
---
Hi,

Once I ran into some unrelated bug with gcc-4.3, and since then, I use
gcc-4.4 locally where I can.  Perhaps others do similar things from
time to time --- I dunno.  If setting CC to something other than gcc
on the make command line is a crazy thing to do (so $(CC) is just
another way to write 'gcc'), this at least makes the makefile a little
more stylistically consistent.

Applies on top of commit 10d5cc7 (Add debian/ directory, 1.5.2~rc2-1)
or later.

Who knows --- it might help someone else, too.

 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0a62f10..5eb073f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,7 +37,7 @@ patch-stamp:
 
 build: deb-checkdir build-arch-stamp build-indep-stamp
 build-arch-stamp: patch-stamp
-       -gcc -v
+       -$(CC) -v
        DESTDIR='$(GIT)'-core $(MAKE) all test \
          CC='$(CC)' CFLAGS='$(CFLAGS)' $(OPTS)
        $(MAKE) -CDocumentation man
-- 
1.6.5.2




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to