about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-09-22 07:07:42 +0000
committerRoland McGrath <roland@gnu.org>2005-09-22 07:07:42 +0000
commitf7ffeb91cd6622472b425f8fa12c577c582ed16c (patch)
treecc50b71dc987c6566f8a8d10a2ec5b29ce58b7a5
parenta8d131a717d14bd359d730b42205f304b58ea27a (diff)
downloadglibc-f7ffeb91cd6622472b425f8fa12c577c582ed16c.tar.gz
glibc-f7ffeb91cd6622472b425f8fa12c577c582ed16c.tar.xz
glibc-f7ffeb91cd6622472b425f8fa12c577c582ed16c.zip
* Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
	Reported by Alexandre Oliva <aoliva@redhat.com>.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad4cde07f9..3b02a19374 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 4535ab4035..f2d0b1bed0 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'