mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
[PATCH] fix udev parallel builds with klibc
I can't build udev with make -j9. Here's a patch to fix it.
This commit is contained in:
parent
772558f4e9
commit
871ea775c7
11
Makefile
11
Makefile
@ -133,9 +133,13 @@ else
|
||||
LDFLAGS = --static
|
||||
endif
|
||||
|
||||
all: $(LIBC) $(ROOT)
|
||||
all: $(ROOT)
|
||||
|
||||
$(ARCH_LIB_OBJS) :
|
||||
$(ROOT): $(LIBC)
|
||||
|
||||
$(ARCH_LIB_OBJS) : $(CRT0)
|
||||
|
||||
$(CRT0):
|
||||
$(MAKE) -C klibc
|
||||
|
||||
TDB = tdb/tdb.o \
|
||||
@ -171,8 +175,9 @@ udev_version.h:
|
||||
@echo \#define UDEV_CONFIG_DIR \"$(configdir)\" >> $@
|
||||
@echo \#define UDEV_ROOT \"$(udevdir)\" >> $@
|
||||
|
||||
$(OBJS): $(GEN_HEADERS)
|
||||
|
||||
$(ROOT): $(GEN_HEADERS) $(OBJS)
|
||||
$(ROOT): $(OBJS)
|
||||
$(LD) $(LDFLAGS) -o $(ROOT) $(CRT0) $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
|
||||
$(STRIPCMD) $(ROOT)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user