Makefile: fix libgray.a with parallel building
ar does not support multiple builder writing to the same file. This disable parallel building for .a targets. See also "Archive Pitfalls" in the GNU Make manual.
This commit is contained in:
parent
c889c754f7
commit
af1ed7d1b6
3
Makefile
3
Makefile
@ -98,6 +98,9 @@ endif
|
|||||||
|
|
||||||
.PHONY: all clean install docs
|
.PHONY: all clean install docs
|
||||||
|
|
||||||
|
# Don't update archives in parallel, it's unsupported
|
||||||
|
.NOTPARALLEL: $(LIBDIR)/libgray.a
|
||||||
|
|
||||||
all: $(BINARIES) $(LIBRARIES)
|
all: $(BINARIES) $(LIBRARIES)
|
||||||
|
|
||||||
# Remove all generated files
|
# Remove all generated files
|
||||||
|
Loading…
Reference in New Issue
Block a user