[PATCH] Configure: call "make clean" before rebuild of libatomic.

Maxim Dounin mdounin at mdounin.ru
Mon Nov 11 13:46:34 UTC 2013


Hello!

On Mon, Nov 11, 2013 at 02:00:50AM -0800, Piotr Sikora wrote:

> Hey Maxim,
> 
> > Shouldn't it be "make distclean" before configure then, like it's
> > done with other libraries?
> 
> Sure, why not.
> 
> # HG changeset patch
> # User Piotr Sikora <piotr at cloudflare.com>
> # Date 1384163987 28800
> #      Mon Nov 11 01:59:47 2013 -0800
> # Node ID 9b3bbaddb1ef7bb52bae1e8967ad13b017ea00c4
> # Parent  f817f9d1cded8316dc804b50527dfab19d928834
> Configure: call "make distclean" for libatomic.
> 
> Signed-off-by: Piotr Sikora <piotr at cloudflare.com>
> 
> diff -r f817f9d1cded -r 9b3bbaddb1ef auto/lib/libatomic/make
> --- a/auto/lib/libatomic/make Mon Nov 04 17:00:25 2013 -0800
> +++ b/auto/lib/libatomic/make Mon Nov 11 01:59:47 2013 -0800
> @@ -9,6 +9,8 @@
>   cd $NGX_LIBATOMIC && \$(MAKE)
> 
>  $NGX_LIBATOMIC/Makefile: $NGX_MAKEFILE
> - cd $NGX_LIBATOMIC && ./configure
> + cd $NGX_LIBATOMIC \\
> + && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
> + && ./configure
> 
>  END

Committed, thnx.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx-devel mailing list