]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix position of tests-unsupported definition in assert/Makefile.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 22 Aug 2017 00:30:51 +0000 (00:30 +0000)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 4 Sep 2017 09:31:43 +0000 (11:31 +0200)
commit947e2e0a9410c18eb44144456c7fe8e7c0e2a999
treec9cb327324900b85851113351b1dfca51cc5ff63
parent58270c0049404ef2f878fdd45df55f17f0b8c1f7
Fix position of tests-unsupported definition in assert/Makefile.

tests-unsupported has to be defined before the inclusion of Rules in a
subdirectory Makefile; otherwise it is ineffective.  This patch fixes
the ordering in assert/Makefile, where a recent test addition put
tests-unsupported too late (resulting in build failures when the C++
compiler was missing or broken, and thereby showing up the unrelated
bug 21987).

Incidentally, I don't see why these tests depend on
$(have-cxx-thread_local) rather than just a working C++ compiler.

Tested in such a configuration (broken compiler/libstdc++) with
build-many-glibcs.py.

* assert/Makefile [$(have-cxx-thread_local)]: Move conditional
variable definitions above inclusion of ../Rules.

(cherry picked from commit 75dfe623df945db7dd3c12a206d743c45c16b5ed)
ChangeLog
assert/Makefile