From: Sascha Schumann Date: Mon, 30 Sep 2002 04:42:11 +0000 (+0000) Subject: Apparently, Solaris 2.6's find is overwhelmed with more than 2 -names per X-Git-Tag: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2405fcf38c29533bb377a8a467353bf1cc3ed371;p=php Apparently, Solaris 2.6's find is overwhelmed with more than 2 -names per invocation (add some parantheses and it segfaults). And thus, we split the clean target up. --- diff --git a/Makefile.global b/Makefile.global index 947f10f034..6592e5509b 100644 --- a/Makefile.global +++ b/Makefile.global @@ -51,7 +51,9 @@ test: $(SAPI_CLI_PATH) $(top_builddir)/$(SAPI_CLI_PATH) -c php.ini-dist $(top_srcdir)/run-tests.php $(TESTS) clean: - find . -name \*.lo -o -name \*.o -o -name \*.la -o -name \*.a -o -name \*.so| xargs rm -f + find . -name \*.lo -o -name \*.o | xargs rm -f + find . -name \*.la -o -name \*.a | xargs rm -f + find . -name \*.so | xargs rm -f find . -name .libs -a -type d|xargs rm -rf rm -f libphp4.la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/*