Mercurial > projects > ldc
diff gen/main.cpp @ 1527:f19adff18813
A couple of ldc2 tweaks now druntime compiles.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Thu, 09 Jul 2009 12:36:08 +0100 |
parents | b265fb6ce15b |
children | c88b16d4a13c |
line wrap: on
line diff
--- a/gen/main.cpp Tue Jul 07 02:26:11 2009 +0100 +++ b/gen/main.cpp Thu Jul 09 12:36:08 2009 +0100 @@ -318,7 +318,9 @@ } else if (!noDefaultLib) { -#if !DMDV2 +#if DMDV2 + global.params.linkswitches->push(mem.strdup("-ldruntime-ldc")); +#else global.params.linkswitches->push(mem.strdup("-lldc-runtime")); global.params.linkswitches->push(mem.strdup("-ltango-cc-tango")); global.params.linkswitches->push(mem.strdup("-ltango-gc-basic"));