summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9027fa9)
raw | patch | inline | side by side (parent: 9027fa9)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sun, 12 Sep 2010 22:37:45 +0000 (22:37 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 27 Sep 2010 18:45:20 +0000 (11:45 -0700) |
Change the git make process so that everything's rebuilt if the CC is
changed. Before we wouldn't rebuilt if e.g. the CC variable was
changed from gcc to clang.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
changed. Before we wouldn't rebuilt if e.g. the CC variable was
changed from gcc to clang.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index b7a62cfdf2ca4f05e47d69332976adabb73583e9..3bed8956eace7fa42f7441622c81209a009d3164 100644 (file)
--- a/Makefile
+++ b/Makefile
$(FIND) . -name '*.[hcS]' -print | xargs cscope -b
### Detect prefix changes
-TRACK_CFLAGS = $(subst ','\'',$(ALL_CFLAGS)):\
+TRACK_CFLAGS = $(CC):$(subst ','\'',$(ALL_CFLAGS)):\
$(bindir_SQ):$(gitexecdir_SQ):$(template_dir_SQ):$(prefix_SQ)
GIT-CFLAGS: FORCE