From patchwork Fri Mar 4 21:25:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 11201 Received: (qmail 85595 invoked by alias); 4 Mar 2016 21:25:45 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 85582 invoked by uid 89); 4 Mar 2016 21:25:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=UD:data, 252, 8 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" CC: Tulio Magno Quites Machado Filho Subject: [COMMITTED PATCH] Fix c++-types-check conditionalization. Message-Id: <20160304212541.9A7B12C3BBC@topped-with-meat.com> Date: Fri, 4 Mar 2016 13:25:41 -0800 (PST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=RZ8DVTdv c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=GPwq8oW-mH0jzYHS50wA:9 a=CjuIK1q_8ugA:10 Committed as obvious. I noticed this because the power8-linux build slave hit it (and another patch to follow). It's nice that we fix all the gratuitous failures when no C++ compiler is available. But we do want the bots to have C++ compilers available, so the power8 bot should get whatever it's missing installed. Thanks, Roland 2016-03-04 Roland McGrath * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization to test for empty $(CXX) rather than $(CXX) of "no". diff --git a/Makefile b/Makefile index 7fc92ae..9c6918d 100644 --- a/Makefile +++ b/Makefile @@ -252,8 +252,8 @@ tests-clean: @$(MAKE) subdir_testclean no_deps=t tests-special += $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out -ifneq ($(CXX),no) +ifneq (,$(CXX)) vpath c++-types.data $(+sysdep_dirs) $(objpfx)c++-types-check.out: c++-types.data scripts/check-c++-types.sh