From f6d07ba0b3232ba45f07de56e1a5128538823f17 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Fri, 6 Jul 2012 21:55:19 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20#135=20=E2=80=93=20-o-=20broken=20with=20?= =?UTF-8?q?LDMD.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- driver/ldmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/ldmd.cpp b/driver/ldmd.cpp index c827ec4702..1a8f668707 100644 --- a/driver/ldmd.cpp +++ b/driver/ldmd.cpp @@ -744,7 +744,7 @@ void buildCommandLine(std::vector& r, const Params& p) if (p.warnings == Warnings::asErrors) r.push_back("-w"); else if (p.warnings == Warnings::informational) r.push_back("-wi"); if (p.optimize) r.push_back("-O2"); - if (p.noObj) r.push_back("-c-"); + if (p.noObj) r.push_back("-o-"); if (p.objDir) r.push_back(concat("-od=", p.objDir)); if (p.objName) r.push_back(concat("-of=", p.objName)); if (p.preservePaths) r.push_back("-op");