[PATCH] Configure: call "make clean" before rebuild of libatomic.
Maxim Dounin
mdounin at mdounin.ru
Tue Nov 5 14:50:55 UTC 2013
Hello!
On Mon, Nov 04, 2013 at 05:06:53PM -0800, Piotr Sikora wrote:
> # HG changeset patch
> # User Piotr Sikora <piotr at cloudflare.com>
> # Date 1383613223 28800
> # Mon Nov 04 17:00:23 2013 -0800
> # Node ID 68fefa8cd1d6c5164347bb3cfa33fc3d8f0acd14
> # Parent dea321e5c0216efccbb23e84bbce7cf3e28f130c
> Configure: call "make clean" before rebuild of libatomic.
>
> Signed-off-by: Piotr Sikora <piotr at cloudflare.com>
>
> diff -r dea321e5c021 -r 68fefa8cd1d6 auto/lib/libatomic/make
> --- a/auto/lib/libatomic/make Thu Oct 31 18:23:49 2013 +0400
> +++ b/auto/lib/libatomic/make Mon Nov 04 17:00:23 2013 -0800
> @@ -6,7 +6,9 @@
> cat << END >> $NGX_MAKEFILE
>
> $NGX_LIBATOMIC/src/libatomic_ops.a: $NGX_LIBATOMIC/Makefile
> - cd $NGX_LIBATOMIC && \$(MAKE)
> + cd $NGX_LIBATOMIC \\
> + && \$(MAKE) clean \\
> + && \$(MAKE)
>
> $NGX_LIBATOMIC/Makefile: $NGX_MAKEFILE
> cd $NGX_LIBATOMIC && ./configure
Which problem this patch tries to solve? As far as I see,
libatomic properly rebuilds itself based on config.status, and an
extra "make clean" shouldn't be needed.
--
Maxim Dounin
http://nginx.org/en/donation.html
More information about the nginx-devel
mailing list