svn commit: samba r18265 - in branches/SAMBA_4_0/source: .
metze at samba.org
metze at samba.org
Fri Sep 8 13:37:22 GMT 2006
Author: metze
Date: 2006-09-08 13:37:22 +0000 (Fri, 08 Sep 2006)
New Revision: 18265
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18265
Log:
print out the failling command
metze
Modified:
branches/SAMBA_4_0/source/main.mk
Changeset:
Modified: branches/SAMBA_4_0/source/main.mk
===================================================================
--- branches/SAMBA_4_0/source/main.mk 2006-09-08 13:11:03 UTC (rev 18264)
+++ branches/SAMBA_4_0/source/main.mk 2006-09-08 13:37:22 UTC (rev 18265)
@@ -340,7 +340,10 @@
$(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 $<"
More information about the samba-cvs
mailing list