File tree 1 file changed +4
-2
lines changed
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
169
169
SWIFTC_FLAGS+ =-O
170
170
endif
171
171
172
- $(abs_builddir ) /swift/% .o : $(abs_srcdir ) /swift/% .swift
172
+ $(abs_builddir ) /swift/% .o : $(abs_srcdir ) /swift/% .swift $(SWIFTC )
173
+ @rm -f $@
173
174
$(SWIFTC ) -frontend -c $(SWIFT_ABS_SRC_FILES ) -primary-file $< \
174
175
$(SWIFTC_FLAGS ) -module-name Dispatch -module-link-name dispatch \
175
176
-o $@ -emit-module-path $@ .~partial.swiftmodule \
176
177
-emit-module-doc-path $@ .~partial.swiftdoc -emit-dependencies-path $@ .d \
177
178
-emit-reference-dependencies-path $@ .swiftdeps \
178
179
-module-cache-path $(top_builddir )
179
180
180
- $(abs_builddir ) /swift/Dispatch.swiftmodule : $(SWIFT_ABS_SRC_FILES )
181
+ $(abs_builddir ) /swift/Dispatch.swiftmodule : $(SWIFT_ABS_SRC_FILES ) $(SWIFTC )
182
+ @rm -f $@
181
183
$(SWIFTC ) -frontend -emit-module $(SWIFT_OBJ_FILES:%=%.~partial.swiftmodule ) \
182
184
$(SWIFTC_FLAGS ) -module-cache-path $(top_builddir ) -module-link-name dispatch \
183
185
-o $@ -emit-module-doc-path $(@:%.swiftmodule=%.swiftdoc )
You can’t perform that action at this time.
0 commit comments