Browse Source

Merge pull request #1455 from ghalliday/issue1431

Fix gh1431 Keep object file for eclcc -c

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 years ago
parent
commit
db96652d34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/jlib/jcomp.cpp

+ 1 - 1
system/jlib/jcomp.cpp

@@ -400,7 +400,7 @@ bool CppCompiler::compile()
     else if (!onlyCompile)
         ret = doLink();
 
-    if (!saveTemps)
+    if (!saveTemps && !onlyCompile)
     {
         removeTemporaries();
         StringBuffer temp;