<html>#515: Silently overrides DEBUG and OPTIMISE options
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Barry Wardell</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>resolved</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Changes (by Roland Haas):</p>
<p><table>
<tr><td>status:</td><td>resolved (was new)</td></tr>
</table></p>
<p>When building a configuration with SimFactory, no matter what is set in the OptionList it sets the DEBUG and OPTIMISE options based on its own --optimise and --debug options, which default to enabling optimisation and disabling debug. This means that even if I have an OptionList with DEBUG="yes", SimFactory will silently change this to DEBUG="no". This is very unexpected and should not happen.</p>
<p>I think SimFactory should respect what is set in the OptionList and never change it. The attached patch disables the overriding of all OptionList settings.</p>
<p><strong>Keyword:</strong></p>
<p>Comment (by Roland Haas):</p>
<p>This has been applied as git hash <a data-is-external-link="true" href="https://bitbucket.org/simfactory/simfactory2/commits/3c6c44345e2162a938d19ff53311935706bc1ec5" rel="nofollow">3c6c443</a> "Don't ignore --optimise and print a message because optimisation is being disabled for debug builds." of <a data-is-external-link="true" href="https://bitbucket.org/simfactory/simfactory2" rel="nofollow">simfactory2</a></p>
<p>A quick check confirms that indeed <code>--no-optimise</code> works as expected, setting <code>OPTIMISE=no</code> in <code>config-info</code>.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/515/silently-overrides-debug-and-optimise'>https://bitbucket.org/einsteintoolkit/tickets/issues/515/silently-overrides-debug-and-optimise</a></p>
</html>