From f4dc3690f4008d516d43bef29a8203bf8390b4ba Mon Sep 17 00:00:00 2001 From: Kiith-Sa Date: Mon, 17 Dec 2012 21:09:33 +0100 Subject: [PATCH] Fixed CDC for LDMD2. --- cdc.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdc.d b/cdc.d index 92a389b..2df92bc 100755 --- a/cdc.d +++ b/cdc.d @@ -111,7 +111,7 @@ alias std.process.system system; ///Name of the default compiler, which is the compiler used to build cdc. version(DigitalMars){string compiler = "dmd";} version(GNU){string compiler = "gdmd";} -version(LDC){string compiler = "ldmd";} +version(LDC){string compiler = "ldmd2";} version(Windows) { @@ -151,7 +151,7 @@ void main(string[] args) case "--help", "-h": help(); return; case "--dmd": compiler = "dmd"; break; case "--gdc": compiler = "gdmd"; break; - case "--ldc": compiler = "ldmd"; break; + case "--ldc": compiler = "ldmd2"; break; default: extra_args ~= arg; } else