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: 592212 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A0793140134 for ; Sat, 5 Mar 2016 08:25:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=rTMhLf9U; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:cc:subject:message-id:date; q=dns; s=default; b=irX+OT28qZ3/cYefKmU9ELsonhO4G+g+Wn3PEq7JUFZ 6t5JekU/m4xcDJwnPOlFzZynpFip6t1kNBkJUYVnWEe/O7FfPYoGabqGL7fsiU9c n4FFB2B7erygWtFAKdWdpyyFVQjEnL9M+PxmiOb2PMDJ2uyPBhlMVAt5RIRa6vKQ = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:cc:subject:message-id:date; s=default; bh=nDFY5hoUEMHEgi+3PI60Z6aRMwM=; b=rTMhLf9UlbV7yAUmu uq0L161I2NHUSfdz/Tt08Ie52pxAPK0F4+MZF8hNxVyN/A6S5ZXiF+bu41Dijrr9 vU/Neq9smD2tn1Et8rmo8axLsfl7Stdac/ds0P5rpzbzEvK5EP1dygsZ3tyJ8ZY5 gRUAAv5eOwl/rQLc/LFX9fybqQ= 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