<div dir="ltr">Adding -O3 now has these results:<div><br></div><div>51.81 seconds for the file that took 222 seconds without -O3. So that was it.</div><div><br></div><div>Thank you!</div><div><br></div><div>Scott</div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 26, 2014 at 3:47 AM, Martijn van Beurden <span dir="ltr"><<a href="mailto:mvanb1@gmail.com" target="_blank">mvanb1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">op 25-07-14 19:32, Scott Brown schreef:<br>
<div class="">> ./configure -enable-static -disable-shared CFLAGS=" -isysroot<br>
> /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6"<br>
> make<br>
<br>
</div>Well, the use of CFLAGS 'disables' the -O3 and unroll-loops<br>
optimisation. I'm quite sure that's the culprit. Add -O3 to your<br>
CFLAGS and it should be fixed.<br>
<br>
See the following lines in the configure script<br>
<br>
> if test "x$user_cflags" = x; then<br>
> CFLAGS="-O3 -funroll-loops -Wall -W -Winline"<br>
> fi<br>
<br>
Maybe we should change this 'overriding' behaviour of CFLAGS and<br>
add -O3 just like most other options are added to the CFLAGS?<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
flac-dev mailing list<br>
<a href="mailto:flac-dev@xiph.org">flac-dev@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/flac-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/flac-dev</a><br>
</div></div></blockquote></div><br></div>