about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-07-17 14:44:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-07-17 14:44:06 +0000
commitbd29910a8a8e129d39b17b4c8cb17f35d247ebc3 (patch)
tree2cc9f73f0c3fa8d42790e4a9236eefcc1e6047ac /Makefile
parentcfc82fd8ac7f910f19b02feed84b68c2e3a3d927 (diff)
downloadglibc-bd29910a8a8e129d39b17b4c8cb17f35d247ebc3.tar.gz
glibc-bd29910a8a8e129d39b17b4c8cb17f35d247ebc3.tar.xz
glibc-bd29910a8a8e129d39b17b4c8cb17f35d247ebc3.zip
Move c++-types baselines to sysdeps directories.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 89588c1e8a..b0d3edb1a7 100644
--- a/Makefile
+++ b/Makefile
@@ -272,21 +272,11 @@ tests-clean:
 
 tests: $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out
 ifneq ($(CXX),no)
-check-data := $(firstword $(wildcard \
-		$(foreach D,$(add-ons) scripts,\
-			  $(patsubst %,$D/data/c++-types-%.data,\
-				     $(abi-name) \
-				     $(addsuffix -$(config-os),\
-						 $(config-machine) \
-						 $(base-machine))))))
-ifneq (,$(check-data))
-$(objpfx)c++-types-check.out: $(check-data) scripts/check-c++-types.sh
+
+vpath c++-types.data $(+sysdep_dirs)
+
+$(objpfx)c++-types-check.out: c++-types.data scripts/check-c++-types.sh
 	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'
-	@echo "not run" > $@
-endif
 endif
 
 $(objpfx)check-local-headers.out: scripts/check-local-headers.sh