diff options
Diffstat (limited to 'pkgs/development/compilers/swift/compiler/patches/swift-darwin-plistbuddy-workaround.patch')
-rw-r--r-- | pkgs/development/compilers/swift/compiler/patches/swift-darwin-plistbuddy-workaround.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/pkgs/development/compilers/swift/compiler/patches/swift-darwin-plistbuddy-workaround.patch b/pkgs/development/compilers/swift/compiler/patches/swift-darwin-plistbuddy-workaround.patch deleted file mode 100644 index a3cf4f60675c..000000000000 --- a/pkgs/development/compilers/swift/compiler/patches/swift-darwin-plistbuddy-workaround.patch +++ /dev/null @@ -1,17 +0,0 @@ -CMake tries to read a list field from SDKSettings.plist, but the output of -facebook/xcbuild PlistBuddy is incompatible with Apple's. - -Simply set the supported architectures to the one target architecture we're -building for. - ---- a/cmake/modules/SwiftConfigureSDK.cmake -+++ b/cmake/modules/SwiftConfigureSDK.cmake -@@ -189,7 +189,7 @@ macro(configure_sdk_darwin - endif() - - # Remove any architectures not supported by the SDK. -- remove_sdk_unsupported_archs(${name} ${xcrun_name} ${SWIFT_SDK_${prefix}_PATH} SWIFT_SDK_${prefix}_ARCHITECTURES) -+ set(SWIFT_SDK_${prefix}_ARCHITECTURES "@swiftArch@") - - list_intersect( - "${SWIFT_DARWIN_MODULE_ARCHS}" # lhs |