mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 557413 - Fix race condition building static and shared libraries. r=ted
This commit is contained in:
parent
338fcb61bb
commit
2a07aa0dc1
@ -1239,7 +1239,7 @@ endif
|
||||
# symlinks back to the originals. The symlinks are a no-op for stabs debugging,
|
||||
# so no need to conditionalize on OS version or debugging format.
|
||||
|
||||
$(SHARED_LIBRARY): $(OBJS) $(LOBJS) $(DEF_FILE) $(RESFILE) $(SHARED_LIBRARY_LIBS) $(EXTRA_DEPS) $(DSO_LDOPTS_DEPS) $(GLOBAL_DEPS)
|
||||
$(SHARED_LIBRARY): $(OBJS) $(LOBJS) $(DEF_FILE) $(RESFILE) $(SHARED_LIBRARY_LIBS) $(LIBRARY) $(EXTRA_DEPS) $(DSO_LDOPTS_DEPS) $(GLOBAL_DEPS)
|
||||
ifndef INCREMENTAL_LINKER
|
||||
rm -f $@
|
||||
endif
|
||||
|
@ -295,7 +295,7 @@ ctypes/libffi/.libs/libffi.$(LIB_SUFFIX): ctypes/libffi/.libs/libffi.a
|
||||
emxomf $<
|
||||
endif
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
SHARED_LIBRARY_LIBS += \
|
||||
ctypes/libffi/.libs/libffi.$(LIB_SUFFIX) \
|
||||
$(NULL)
|
||||
endif # JS_HAS_CTYPES
|
||||
@ -371,12 +371,12 @@ include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifdef JS_HAS_CTYPES
|
||||
# Build libffi proper as part of the 'exports' target, so things get built
|
||||
# in the right order. Specify -j1 to make sure we don't get a parallel build.
|
||||
# in the right order.
|
||||
export::
|
||||
$(MAKE) -j1 -C ctypes/libffi
|
||||
$(call SUBMAKE,,ctypes/libffi)
|
||||
|
||||
clean::
|
||||
$(MAKE) -j1 -C ctypes/libffi clean
|
||||
$(call SUBMAKE,clean,ctypes/libffi)
|
||||
endif
|
||||
|
||||
ifdef MOZ_SYNC_BUILD_FILES
|
||||
|
@ -1239,7 +1239,7 @@ endif
|
||||
# symlinks back to the originals. The symlinks are a no-op for stabs debugging,
|
||||
# so no need to conditionalize on OS version or debugging format.
|
||||
|
||||
$(SHARED_LIBRARY): $(OBJS) $(LOBJS) $(DEF_FILE) $(RESFILE) $(SHARED_LIBRARY_LIBS) $(EXTRA_DEPS) $(DSO_LDOPTS_DEPS) $(GLOBAL_DEPS)
|
||||
$(SHARED_LIBRARY): $(OBJS) $(LOBJS) $(DEF_FILE) $(RESFILE) $(SHARED_LIBRARY_LIBS) $(LIBRARY) $(EXTRA_DEPS) $(DSO_LDOPTS_DEPS) $(GLOBAL_DEPS)
|
||||
ifndef INCREMENTAL_LINKER
|
||||
rm -f $@
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user