changeset 1415:bac3931b3de3

Fix a behavioral change accidentally introduced by the move to the LLVM commandline system: `-output-(bc|ll|s)` used to disable generation of an object file unless explicitly requested with `-output-o`. Now they do so again.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 23 May 2009 20:57:22 +0200
parents 303e6422f785
children 17268b0a3ab0
files gen/main.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gen/main.cpp	Sat May 23 09:02:36 2009 +0200
+++ b/gen/main.cpp	Sat May 23 20:57:22 2009 +0200
@@ -238,7 +238,8 @@
         VersionCondition::addGlobalIdent);
 
     global.params.output_o =
-        opts::output_o == cl::BOU_UNSET
+        (opts::output_o == cl::BOU_UNSET
+            && !(opts::output_bc || opts::output_ll || opts::output_s))
         ? OUTPUTFLAGdefault
         : opts::output_o == cl::BOU_TRUE
             ? OUTPUTFLAGset