aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad4cde0..3b02a19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-22 Roland McGrath <roland@redhat.com>
+
+ * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
+ Reported by Alexandre Oliva <aoliva@redhat.com>.
+
2005-09-20 Jakub Jelinek <jakub@redhat.com>
* nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.
diff --git a/Makefile b/Makefile
index 4535ab4..f2d0b1b 100644
--- a/Makefile
+++ b/Makefile
@@ -242,7 +242,7 @@ check-data := $(firstword $(wildcard \
scripts/data/c++-types-$M-$(config-os).data)))
ifneq (,$(check-data))
$(objpfx)c++-types-check.out: $(check-data) scripts/check-c++-types.sh
- scripts/check-c++-types.sh $^ $(CXX) $(filter-out -std=gnu99 -Wstrict-prototypes,$(CFLAGS)) $(CPPFLAGS) > $@
+ scripts/check-c++-types.sh $< $(CXX) $(filter-out -std=gnu99 -Wstrict-prototypes,$(CFLAGS)) $(CPPFLAGS) > $@
else
$(objpfx)c++-types-check.out:
@echo 'WARNING C++ tests not run; create a c++-types-XXX file'