From 7098f7df034a3cbca9faecb3c3d0172534eac642 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Mon, 21 Mar 2016 15:14:07 -0700 Subject: [PATCH] Remove release-mode dead-strip Refs: https://bugs.swift.org/browse/SR-521 --- Sources/Build/describe().swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/Build/describe().swift b/Sources/Build/describe().swift index a0d50f2e28c..e1dd5850c00 100644 --- a/Sources/Build/describe().swift +++ b/Sources/Build/describe().swift @@ -227,9 +227,6 @@ public func describe(prefix: String, _ conf: Configuration, _ modules: [Module], args.append("-emit-library") case .Executable: args.append("-emit-executable") - if conf == .Release { - args += ["-Xlinker", "-dead_strip"] - } } if conf == .Debug {