Mercurial > projects > doodle
changeset 32:705817d8514a
Pass -g flag to dmd for compiles rather than links.
author | David Bryant <bagnose@gmail.com> |
---|---|
date | Sun, 30 Aug 2009 01:33:34 +0930 |
parents | fe66a856a630 |
children | 157b4ad5615d |
files | builder.d |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/builder.d Thu Aug 20 22:14:54 2009 +0930 +++ b/builder.d Sun Aug 30 01:33:34 2009 +0930 @@ -32,7 +32,7 @@ // specifically, the module-name has to be the last thing on the line. // // -// The directory structure employs a heirarchy of: +// The directory structure employs a hierarchy of: // * Bundle - A collection of products. Has no source code of its own, and does not appear in package paths. // Corresponds to the root of a checkout/repository. The bundle is on the source search path. // * Product - Top-level package, usually to provide namespace, but can also contain code @@ -511,7 +511,7 @@ writefln("Object %s", mPath); scope cmd = new StringFormatter; - cmd.format("dmd -c"); + cmd.format("dmd -c -g"); foreach (path; Global.bundlePaths) { cmd.format(" -I", path); } @@ -597,7 +597,7 @@ writefln("Program %s", mPath); scope cmd = new StringFormatter(); - cmd.format("dmd -g -L-L%s", join(Global.buildPath, "lib")); + cmd.format("dmd -L-L%s", join(Global.buildPath, "lib")); cmd.format(" -of%s %s", mPath, mObject.mPath); // add the libraries we need