File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -169,15 +169,17 @@ if DISPATCH_ENABLE_OPTIMIZATION
169169SWIFTC_FLAGS+ =-O
170170endif
171171
172- $(abs_builddir ) /swift/% .o : $(abs_srcdir ) /swift/% .swift
172+ $(abs_builddir ) /swift/% .o : $(abs_srcdir ) /swift/% .swift $(SWIFTC )
173+ @rm -f $@
173174 $(SWIFTC ) -frontend -c $(SWIFT_ABS_SRC_FILES ) -primary-file $< \
174175 $(SWIFTC_FLAGS ) -module-name Dispatch -module-link-name dispatch \
175176 -o $@ -emit-module-path $@ .~partial.swiftmodule \
176177 -emit-module-doc-path $@ .~partial.swiftdoc -emit-dependencies-path $@ .d \
177178 -emit-reference-dependencies-path $@ .swiftdeps \
178179 -module-cache-path $(top_builddir )
179180
180- $(abs_builddir ) /swift/Dispatch.swiftmodule : $(SWIFT_ABS_SRC_FILES )
181+ $(abs_builddir ) /swift/Dispatch.swiftmodule : $(SWIFT_ABS_SRC_FILES ) $(SWIFTC )
182+ @rm -f $@
181183 $(SWIFTC ) -frontend -emit-module $(SWIFT_OBJ_FILES:%=%.~partial.swiftmodule ) \
182184 $(SWIFTC_FLAGS ) -module-cache-path $(top_builddir ) -module-link-name dispatch \
183185 -o $@ -emit-module-doc-path $(@:%.swiftmodule=%.swiftdoc )
You can’t perform that action at this time.
0 commit comments