From edcfe9eab03ea3dd1b3e04b6056a7663c40265c4 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 14 Jul 2015 10:50:05 -0300 Subject: Avoid C++ tests when the C++ cannot be linked * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete): Add iff $CXX is set. [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod): Likewise. (tst-nodelete-zmodiff): Likewise. * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5. --- nptl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/Makefile') diff --git a/nptl/Makefile b/nptl/Makefile index 5bc4ad1..140f063 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -400,7 +400,7 @@ endif ifeq (,$(CXX)) # These tests require a C++ compiler and runtime. -tests-unsupported += tst-cancel24 tst-cancel24-static +tests-unsupported += tst-cancel24 tst-cancel24-static tst-once5 endif include ../Rules -- cgit v1.1