1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r18265: print out the failling command

metze
(This used to be commit 9d2ab28ba1)
This commit is contained in:
Stefan Metzmacher 2006-09-08 13:37:22 +00:00 committed by Gerald (Jerry) Carter
parent bf9379dfe5
commit 0627a4715d

View File

@ -340,7 +340,10 @@ include/includes.d: include/includes.h
$(CC_CHECKER) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@; \
fi
@echo "Compiling $<"
@$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@
@$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@ && exit 0;\
echo "The following command failed:" 1>&2;\
echo "$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@" 1>&2;\
$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@ >/dev/null 2>&1
.h.h.gch:
@echo "Precompiling $<"