Fix 'make distclean'

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jun 6 09:54:00 GMT 2016


On Jun  5 13:15, Ken Brown wrote:
> Sometimes when a build of Cygwin fails, there will be a message suggesting
> running 'make distclean'.  But this fails to clean the winsup/cygwin
> subdirectory, and the build still fails.
> 
> On the other hand, 'make clean' in winsup/cygwin removes two source files,
> which have to be restored before one can rebuild.
> 
> The attached patch fixes both problems.

Applied with a minor change (adding "*clean" targets to .PHONY).

I also added a patch which removes the tlsoffsets file if regenerating
it failed.  This fixes an annoying build problem if gentls_offsets fails
to compile cygtls.h.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20160606/9e227631/attachment.sig>


More information about the Cygwin-patches mailing list