* Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.

Reported by Alexandre Oliva <aoliva@redhat.com>.
This commit is contained in:
Roland McGrath 2005-09-22 07:07:42 +00:00
parent a8d131a717
commit f7ffeb91cd
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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'