Don't include support for old mangling in runtimes without ObjC interop (#39675)

This commit is contained in:
Kuba (Brecka) Mracek
2021-10-13 19:47:05 -07:00
committed by GitHub
parent ff7de78d33
commit 557bf685be
9 changed files with 36 additions and 13 deletions

View File

@@ -303,7 +303,7 @@ function(_add_target_variant_c_compile_flags)
list(APPEND result "-D_WASI_EMULATED_MMAN")
endif()
if(SWIFT_DISABLE_OBJC_INTEROP)
if(NOT SWIFT_STDLIB_ENABLE_OBJC_INTEROP)
list(APPEND result "-DSWIFT_OBJC_INTEROP=0")
endif()