From patchwork Fri Mar 4 23:08: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: 11203 Received: (qmail 92300 invoked by alias); 4 Mar 2016 23:08: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 92197 invoked by uid 89); 4 Mar 2016 23:08:44 -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 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] Conditionalize c++-types-check.out addition to tests-special. Message-Id: <20160304230842.1271E2C3BBC@topped-with-meat.com> Date: Fri, 4 Mar 2016 15:08: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=8cqtZXVYJz4XPWDqSf0A:9 a=CjuIK1q_8ugA:10 Fixing the conditional uncovered that more needed to be under that conditional. Thanks, Roland * Makefile (tests-special): Add $(objpfx)c++-types-check.out only inside conditional for nonempty $(CXX). diff --git a/Makefile b/Makefile index 9c6918d..0732d48 100644 --- a/Makefile +++ b/Makefile @@ -251,16 +251,16 @@ mostlyclean: parent-mostlyclean tests-clean: @$(MAKE) subdir_testclean no_deps=t -tests-special += $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out - ifneq (,$(CXX)) vpath c++-types.data $(+sysdep_dirs) +tests-special += $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out $(objpfx)c++-types-check.out: c++-types.data scripts/check-c++-types.sh scripts/check-c++-types.sh $< $(CXX) $(filter-out -std=gnu11 $(+gccwarn-c),$(CFLAGS)) $(CPPFLAGS) > $@; \ $(evaluate-test) endif +tests-special += $(objpfx)check-local-headers.out $(objpfx)check-local-headers.out: scripts/check-local-headers.sh AWK='$(AWK)' scripts/check-local-headers.sh \ "$(includedir)" "$(objpfx)" < /dev/null > $@; \