diff gen/main.cpp @ 1523:833337c65fd3

Fixed some unmerged parts of the D2 frontend. Removed the automatic linker flags for D2 (temp). Renamed a runtime function for D2.
author Robert Clipsham <robert@octarineparrot.com>
date Mon, 06 Jul 2009 23:54:02 +0100
parents 7d3b47852a7a
children b265fb6ce15b
line wrap: on
line diff
--- a/gen/main.cpp	Mon Jun 22 19:31:25 2009 +0200
+++ b/gen/main.cpp	Mon Jul 06 23:54:02 2009 +0100
@@ -311,12 +311,14 @@
     }
     else if (!noDefaultLib)
     {
+#if !DMDV2
         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"));
         // pass the runtime again to resolve issues
         // with linking order
         global.params.linkswitches->push(mem.strdup("-lldc-runtime"));
+#endif
     }
 
     if (global.params.run)