]> sourceware.org Git - newlib-cygwin.git/commit
Only regenerate tlsoffsets{64}.h if cygtls.h can be compiled
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 6 Jun 2016 09:44:54 +0000 (11:44 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 6 Jun 2016 09:44:54 +0000 (11:44 +0200)
commit7abe634731294a7843e6889dfd23687388f0882b
tree59cdfd47e8b946dc200dd861f1843061c65594a0
parentf4edc7fd6d2cf696bfa083c20e5fdd632a47d71f
Only regenerate tlsoffsets{64}.h if cygtls.h can be compiled

The rule to make tlsoffset{64}.h has a flaw.  If cygtls.h can't be
built for whatever reason, it *still* regenerates tlsoffsets{64}.h,
just with size 0.  If the bug is not in cygtls.h itself, this behaviour
breaks further building, because fixing the problem won't result in
regenerating tlsoffset{64}.h.  Manual intervention is required.

Fix that by removing tlsoffsets{64}.h if gentls_offsets fails.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/Makefile.in
This page took 0.030613 seconds and 5 git commands to generate.