diff options
-rw-r--r-- | source4/main.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/main.mk b/source4/main.mk index f66c5e3c66..a024a7f2a0 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -327,6 +327,10 @@ unused_macros: @$(CC) -MM -MG -MT $(<:.c=.o) -MF $@ $(CFLAGS) $< .c.o: + @if test -n "$(CC_CHECKER)"; then \ + echo Call \'$(CC_CHECKER)\' for $<; \ + $(CC_CHECKER) `script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@; \ + fi @echo Compiling $< @$(CC) `script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@ |