Skip to content

Commit 155d94f

Browse files
Merge pull request #5441 from swiftwasm/katei/revert-duplicated-target-option
2 parents fee89b2 + 4805c9b commit 155d94f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Driver/WebAssemblyToolChains.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ toolchains::WebAssembly::constructInvocation(const DynamicLinkJobAction &job,
158158
llvm::report_fatal_error(linkFile + " not found");
159159
}
160160

161-
// Explicitly pass the target to the linker
162-
Arguments.push_back(
163-
context.Args.MakeArgString("--target=" + getTriple().str()));
164-
165161
// Delegate to Clang for sanitizers. It will figure out the correct linker
166162
// options.
167163
if (job.getKind() == LinkKind::Executable && context.OI.SelectedSanitizers) {

0 commit comments

Comments
 (0)