On Thu, Jan 22, 2015 at 10:20:34PM -0500, alex lupu wrote:
> Hello,
>
> Reference: BLFS Book, v2015-01-22
>
> In the Firefox source,
>
> './configure --help' reads
>
> "--enable-optimize=[OPT] Specify compiler optimization flags [OPT=-O]"
>
> which, the way I interpret it, implies the build uses O as the default.
>
> In Note (... gcc versions ranging from 4.8 to 4.9.1 ...), the command
>
> test $(uname -m) = "i686" && sed -i 's/enable-optimize/&=-O2/' mozconfig \
> || true
>
> seem to force optimization to O2 (again, if I interpret it correctly).
>
> O2 is to optimize even more (i.e., higher level) than O (= O1)
> which appears to contradict the statement:
>
> "... [please] reduce the level of optimization with:
> [the above command]".
>
> Am I wrong (again)?
>
> Thanks,
> -- Alex
Your comments sound correct. I looked at my own scripts, and on
gcc-4.9.{0,1} - no i686 4.8 systems here - I sed enable-optimize to
disable-optimize. But I have not tried the book's command. And
neither have I seen problems with an unoptimized firefox on i686,
although other people apparently have seen them.
ĸen
--
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page