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

Piotr Sikora piotr at cloudflare.com
Mon Nov 11 10:00:50 UTC 2013


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

Best regards,
Piotr Sikora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx__configure_2a.patch
Type: application/octet-stream
Size: 740 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20131111/f029828f/attachment.obj>


More information about the nginx-devel mailing list