Fix brief make messages when CC etc are specified on command line
authorMåns Rullgård <mans@mansr.com>
Sat, 26 Jun 2010 10:03:30 +0000 (10:03 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 26 Jun 2010 10:03:30 +0000 (10:03 +0000)
Originally committed as revision 23792 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak

index 25a5d81..d4eda1b 100644 (file)
@@ -26,8 +26,8 @@ SILENT = DEPCC YASMDEP RM RANLIB
 MSG    = $@
 M      = @$(call ECHO,$(TAG),$@);
 $(foreach VAR,$(BRIEF), \
-    $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
-$(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR))))
+    $(eval override $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
+$(foreach VAR,$(SILENT),$(eval override $(VAR) = @$($(VAR))))
 $(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_DIR)/%=%)); $(INSTALL))
 endif