From 93f5da47615def6e53e0760f48f394a0a03f82de Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 31 Dec 2009 20:06:53 +0000 Subject: fix parallel build problems with the lib/ subdir and multiple targets that descend into it --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f42a826..ad961ef 100644 --- a/Makefile +++ b/Makefile @@ -179,8 +179,9 @@ libdir: version.h i18ndir: @$(MAKE) -C po -subdirs: - @for i in $(SUBDIRS); do $(MAKE) -C $$i || exit $$? ; done +# use libdir target for lib/ to avoid parallel build issues +subdirs: libdir + @for i in $(SUBDIRS:$(NET_LIB_PATH)/=); do $(MAKE) -C $$i || exit $$? ; done ifconfig: $(NET_LIB) ifconfig.o $(CC) $(LDFLAGS) -o ifconfig ifconfig.o $(NLIB) $(RESLIB) -- cgit v1.2.3-65-gdbad