summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-10 11:23:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:10 -0500
commitbcabebf5028d5a3c020479a03e92df13dab8d9c8 (patch)
tree9fcec9075110b1e0acb2a4aeee1705f7f4dbba76
parent2696cc312021ce927012228c9ce199dba4775b9e (diff)
downloadsamba-bcabebf5028d5a3c020479a03e92df13dab8d9c8.tar.gz
samba-bcabebf5028d5a3c020479a03e92df13dab8d9c8.tar.bz2
samba-bcabebf5028d5a3c020479a03e92df13dab8d9c8.zip
r18329: print out special make variables when failing, to track down the
build failures on older BSD systems with broken make metze (This used to be commit 7edb40569a5b5c971894a5e753638eeccef15dea)
-rw-r--r--source4/main.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 314d3587c2..270c9b3ff5 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -339,6 +339,9 @@ include/includes.d: include/includes.h
@$(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;\
+ echo "@: $@";\
+ echo "<: $<";\
+ echo "*: $*";\
$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@ >/dev/null 2>&1
.c.ho: