diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-08 13:37:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:58 -0500 |
commit | 0627a4715d0aae2acf9d986657cacf5a7dd073a5 (patch) | |
tree | 48b6c50bf534f5fffb9e447aa423f6f31d838dbd /source4 | |
parent | bf9379dfe53a99c0b331852cee4d5de56b9efed1 (diff) | |
download | samba-0627a4715d0aae2acf9d986657cacf5a7dd073a5.tar.gz samba-0627a4715d0aae2acf9d986657cacf5a7dd073a5.tar.bz2 samba-0627a4715d0aae2acf9d986657cacf5a7dd073a5.zip |
r18265: print out the failling command
metze
(This used to be commit 9d2ab28ba1a119dff1a97147934c03e712c7148d)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/main.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/main.mk b/source4/main.mk index 73c242ff50..1463438890 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -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 $<" |