Code

Merge branch 'ab/makefile-track-cc'
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Oct 2010 19:10:29 +0000 (12:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Oct 2010 19:10:29 +0000 (12:10 -0700)
* ab/makefile-track-cc:
  Makefile: add CC to TRACK_CFLAGS

Makefile

index 8a56b9ab49816b003da504fe75f339c5b31f3e82..1f1ce04edf0b87f6fdbd579052d5ccaa538e6b93 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1983,7 +1983,7 @@ cscope:
        $(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