Changeset a737350 for xsoft


Ignore:
Timestamp:
11/03/2023 10:28:06 AM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
64770a6
Parents:
c12fd0f
Message:

firefox: Tweak mozconfig

  1. Drop --enable-optimize because it's the default.
  2. Use -Wl,-z,pack-relative-relocs as a replacement for elf-hack.
  3. Add --enable-rust-simd for SIMD optimization, like Arch and Gentoo.
  4. Make the formatting (captialization and punctuation) of comments more consistent.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    rc12fd0f ra737350  
    288288# the build faster.
    289289
    290 # libdav1d (av1 decoder) requires nasm. Uncomment this if nasm
    291 # has not been installed. Do not uncomment this if you have
     290# The libdav1d library (av1 decoder) requires nasm. Uncomment this
     291# if nasm has not been installed. Do not uncomment this if you have
    292292# ffmpeg installed.
    293293#ac_add_options --disable-av1
    294294
    295 # You cannot distribute the binary if you do this
     295# You cannot distribute the binary if you do this.
    296296ac_add_options --enable-official-branding
    297297
     
    305305# required for compilation on i686.
    306306ac_add_options --disable-debug-symbols
    307 
     307<!-- For Firefox ESR 128 replace the following part with "- -enable-elf-hack=relr", or remove it if relr becomes the default.  -->
    308308# The elf-hack is reported to cause failed installs (after successful builds)
    309309# on some machines. It is supposed to improve startup time and it shrinks
    310 # libxul.so by a few MB - comment this if you know your machine is not affected.
     310# libxul.so by a few MB.  With recent Binutils releases the linker already
     311# supports a much safer and generic way for this.
    311312ac_add_options --disable-elf-hack
     313export LDFLAGS="$LDFLAGS -Wl,-z,pack-relative-relocs"
    312314
    313315# The BLFS editors recommend not changing anything below this line:
     
    316318ac_add_options --disable-crashreporter
    317319ac_add_options --disable-updater
    318 # enabling the tests will use a lot more space and significantly
     320
     321# Enabling the tests will use a lot more space and significantly
    319322# increase the build time, for no obvious benefit.
    320323ac_add_options --disable-tests
    321324
    322 # The default level of optimization again produces a working build with gcc.
    323 ac_add_options --enable-optimize
     325# This enables SIMD optimization in the shipped encoding_rs crate.
     326ac_add_options --enable-rust-simd
    324327
    325328ac_add_options --enable-system-ffi
Note: See TracChangeset for help on using the changeset viewer.