mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 14:38:18 +00:00
Pass job server arguments (-jX) to make.
When $(MAKE) is expanded via a macro "make" doesn't know whether $(MAKE) refers to an instance of the make app and therefore doesn't pass job server arguments down. This change adds the + prefix to the command in the receipe in order to indicate $(MAKE) is another instance of make. Tested: Verified flatc builds in parallel from Android builds. Change-Id: I9f2f4f9680b818fdda7420a75a8bfa995b4644db
This commit is contained in:
@@ -102,8 +102,11 @@ endef
|
|||||||
endif
|
endif
|
||||||
ifeq (Linux,$(PROJECT_OS))
|
ifeq (Linux,$(PROJECT_OS))
|
||||||
define build_flatc_recipe
|
define build_flatc_recipe
|
||||||
mkdir -p bin && cd bin && $(CMAKE) $(FLATBUFFERS_CMAKELISTS_DIR) \
|
+mkdir -p bin && \
|
||||||
&& $(MAKE) flatc
|
cd bin && \
|
||||||
|
$(CMAKE) \
|
||||||
|
$(FLATBUFFERS_CMAKELISTS_DIR) && \
|
||||||
|
$(MAKE) flatc
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
ifeq (Darwin,$(PROJECT_OS))
|
ifeq (Darwin,$(PROJECT_OS))
|
||||||
|
|||||||
Reference in New Issue
Block a user