make check fails if C++ is enabled
Alexandre Oliva
aoliva@redhat.com
Thu Sep 22 06:41:00 GMT 2005
The use of $^ causes the script to be passed as an argument to itself.
Oops :-)
Index: ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* Makefile ($(objpfx)c++-types-check.out): Don't use $^.
Index: Makefile
===================================================================
RCS file: /cvs/glibc/libc/Makefile,v
retrieving revision 1.247
diff -u -p -r1.247 Makefile
--- Makefile 17 Sep 2005 17:15:50 -0000 1.247
+++ Makefile 22 Sep 2005 00:49:22 -0000
@@ -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 $(check-data) $(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'
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the Libc-alpha
mailing list