Skip to content

Commit 7098f7d

Browse files
committed
Remove release-mode dead-strip
Refs: https://bugs.swift.org/browse/SR-521
1 parent b354d67 commit 7098f7d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Sources/Build/describe().swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ public func describe(prefix: String, _ conf: Configuration, _ modules: [Module],
227227
args.append("-emit-library")
228228
case .Executable:
229229
args.append("-emit-executable")
230-
if conf == .Release {
231-
args += ["-Xlinker", "-dead_strip"]
232-
}
233230
}
234231

235232
if conf == .Debug {

0 commit comments

Comments
 (0)