# HG changeset patch # User Frits van Bommel # Date 1243105042 -7200 # Node ID bac3931b3de36ffc2044156c90ba64d422d642e0 # Parent 303e6422f785c62a5890c772bc975fea6020c7a9 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. diff -r 303e6422f785 -r bac3931b3de3 gen/main.cpp --- 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