[nginx] Configure: call "make distclean" for libatomic.

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


details:   http://hg.nginx.org/nginx/rev/9b3bbaddb1ef
branches:  
changeset: 5439:9b3bbaddb1ef
user:      Piotr Sikora <piotr at cloudflare.com>
date:      Mon Nov 11 01:59:47 2013 -0800
description:
Configure: call "make distclean" for libatomic.

Signed-off-by: Piotr Sikora <piotr at cloudflare.com>

diffstat:

 auto/lib/libatomic/make |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (13 lines):

diff --git a/auto/lib/libatomic/make b/auto/lib/libatomic/make
--- a/auto/lib/libatomic/make
+++ b/auto/lib/libatomic/make
@@ -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



More information about the nginx-devel mailing list