On Fri, Aug 16, 2019 at 03:46:27PM -0000, renodr--- via blfs-book wrote:
> Author: renodr
> Date: Fri Aug 16 08:46:27 2019
> New Revision: 21978
> 
> Log:
> Fix compilation of Firefox on i686
> 

Hi, I've just got to this.

>  
>  # Disabling debug symbols makes the build much smaller and a little
> -# faster. Comment this if you need to run a debugger.
> +# faster. Comment this if you need to run a debugger. Note: This is
> +# required for compilation on i686.
>  ac_add_options --disable-debug-symbols
>  

By default, the build now works for i686 but is _much_ larger on
x86_64.  Having lost interest in i686 ages ago, I find the extra
space used in x86_64 (and potentially more pressure on memory when
using a machine with many cores but not much RAM) disturbing.

But I don't see how we can suit both, unless we restore the comment,
but then add a conditional block later (for i686) with

    echo "ac_add_options --disable-debug-symbols" >>mozconfig

In my own builds I often use a mozconfig simiar to the book, but
then selectively add lines like that to alter the config.

ĸen
-- 
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
           Captain Carrot Ironfoundersson (in The Fifth Elephant)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to