diff gen/main.cpp @ 1645:1d2d1aa16841

Don't error out with -singleobj, -of, and -c/-output-{bc,ll,o,s}.
author Matti Niemenmaa <matti.niemenmaa+hg@iki.fi>
date Tue, 09 Mar 2010 23:20:39 +0200
parents 9176437d98be
children 40bd4a0d4870
line wrap: on
line diff
--- a/gen/main.cpp	Tue Mar 09 23:07:08 2010 +0200
+++ b/gen/main.cpp	Tue Mar 09 23:20:39 2010 +0200
@@ -781,7 +781,7 @@
         m->importedFrom = m;
         m->read(0);
         m->parse();
-        m->buildTargetFiles();
+        m->buildTargetFiles(singleObj);
         m->deleteObjFile();
         if (m->isDocFile)
         {