about summary refs log tree commit diff
path: root/pkgs/development/compilers/swift/swift-driver/patches/prevent-sdk-dirs-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/swift/swift-driver/patches/prevent-sdk-dirs-warnings.patch')
-rw-r--r--pkgs/development/compilers/swift/swift-driver/patches/prevent-sdk-dirs-warnings.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/pkgs/development/compilers/swift/swift-driver/patches/prevent-sdk-dirs-warnings.patch b/pkgs/development/compilers/swift/swift-driver/patches/prevent-sdk-dirs-warnings.patch
deleted file mode 100644
index 6080865ebe37..000000000000
--- a/pkgs/development/compilers/swift/swift-driver/patches/prevent-sdk-dirs-warnings.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Prevents a user-visible warning on every compilation:
-
-  ld: warning: directory not found for option '-L.../MacOSX11.0.sdk/usr/lib/swift'
-
---- a/Sources/SwiftDriver/Jobs/Toolchain+LinkerSupport.swift
-+++ b/Sources/SwiftDriver/Jobs/Toolchain+LinkerSupport.swift
-@@ -50,7 +50,9 @@ extension Toolchain {
-         result.append(sdkPath.appending(components: "System", "iOSSupport", "usr", "lib", "swift"))
-       }
- 
-+      if sdkPath.absolutePath?.pathString.starts(with: "@storeDir@") == false {
-       result.append(sdkPath.appending(components: "usr", "lib", "swift"))
-+      }
-     }
- 
-     return result