On 05/10/16 17:52, sf...@users.sourceforge.net wrote: > OmegaPhil: >> Reading the top of the main Makefile, I'm assuming that test_glibc is >> doing a compilation that always happens regardless of the make target >> requested. > > You are right. > Although I don't think it a big problem, here is a patch for you. > > > J. R. Okajima > > commit 61ba8e01f1960b43e8ff3b7f0b7ef894562b7703 > Author: J. R. Okajima <hooanon...@gmail.com> > Date: Thu Oct 6 01:50:14 2016 +0900 > > bugfix, stop evaluating test_glibc when 'make clean' > > Reported-by: OmegaPhil <omegap...@startmail.com> > See-also: > http://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg05400.html > Signed-off-by: J. R. Okajima <hooanon...@gmail.com> > > diff --git a/Makefile b/Makefile > index fa96b6c..f624d3c 100644 > --- a/Makefile > +++ b/Makefile > @@ -62,7 +62,8 @@ define test_glibc > echo yes || \ > echo no) > endef > -$(eval Glibc=$(call test_glibc, ${CC}, ver.c)) > +$(filter-out clean, ${MAKECMDGOALS}): \ > + $(eval Glibc=$(call test_glibc, ${CC}, ver.c)) > #$(warning Glibc=${Glibc}) > > LibAuDir ?= /usr/lib
Cheers - as you're changing that bit now, would also make sense to not compile during the install target as well (can't think of any other targets a normal user would use).
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot