File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -967,6 +967,8 @@ if run_vendor == 'apple':
967
967
if not config .swift_freestanding_is_darwin :
968
968
swift_execution_tests_extra_flags += ' -Xlinker -dead_strip'
969
969
970
+ # TODO: consider making the addition of these flags dependent on the CMake
971
+ # setting for hermetic seal at link
970
972
if not config .swift_freestanding_is_darwin :
971
973
swift_execution_tests_extra_flags += ' -experimental-hermetic-seal-at-link -lto=llvm-full'
972
974
@@ -980,6 +982,8 @@ if run_vendor == 'apple':
980
982
symlink_if_not_exists ("clang" , "clang" )
981
983
symlink_if_not_exists ("shims" , "shims" )
982
984
symlink_if_not_exists ("freestanding" , "macosx" )
985
+ # This is needed to allow compiling against Dispatch
986
+ # TODO: consider making this dependent on swift_enable_dispatch
983
987
if config .swift_freestanding_is_darwin :
984
988
symlink_if_not_exists ("apinotes" , "apinotes" )
985
989
config .resource_dir_opt = "-resource-dir %s" % new_resource_dir
You can’t perform that action at this time.
0 commit comments