This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED PATCH] Conditionalize c++-types-check.out addition to tests-special.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Fri, 4 Mar 2016 23:18:37 +0000
- Subject: Re: [COMMITTED PATCH] Conditionalize c++-types-check.out addition to tests-special.
- Authentication-results: sourceware.org; auth=none
- References: <20160304230842 dot 1271E2C3BBC at topped-with-meat dot com>
On Fri, 4 Mar 2016, Roland McGrath wrote:
> 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
Adding check-local-headers.out both inside and outside the conditional
looks wrong.
--
Joseph S. Myers
joseph@codesourcery.com