Changeset dffa9ad for xsoft


Ignore:
Timestamp:
11/03/2023 01:18:02 PM (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:
959b132
Parents:
64770a6
Message:

thunderbird: Tweak mozconfig

  1. Drop --enable-optimize=O2 because it's the default.
  2. Use -Wl,-z,pack-relative-relocs as a replacement for elf-hack. Drop --enable-linker=gold because gold does not support this.
  3. Add --enable-rust-simd for SIMD optimization, like Arch and Gentoo.
  4. Copy the comment for official branding (with legal implication) from Firefox.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/other/thunderbird.xml

    r64770a6 rdffa9ad  
    209209ac_add_options --with-system-nss
    210210ac_add_options --with-system-webp
    211 
    212 # The elf-hack causes failed installs on some machines.
    213 # It is supposed to improve startup time and it shrinks libxul.so
    214 # by a few MB - comment this if you know your machine is not affected.
     211<!-- For Thunderbird ESR 128 replace the following part with "- -enable-elf-hack=relr", or remove it if relr becomes the default.  -->
     212# The elf-hack is reported to cause failed installs (after successful builds)
     213# on some machines. It is supposed to improve startup time and it shrinks
     214# libxul.so by a few MB.  With recent Binutils releases the linker already
     215# supports a much safer and generic way for this.
    215216ac_add_options --disable-elf-hack
     217export LDFLAGS="$LDFLAGS -Wl,-z,pack-relative-relocs"
    216218
    217219# The BLFS editors recommend not changing anything below this line:
     
    225227ac_add_options --disable-tests
    226228
    227 ac_add_options --enable-optimize=-O2
    228 ac_add_options --enable-linker=gold
     229# This enables SIMD optimization in the shipped encoding_rs crate.
     230ac_add_options --enable-rust-simd
     231
    229232ac_add_options --enable-strip
    230233ac_add_options --enable-install-strip
    231234
     235# You cannot distribute the binary if you do this.
    232236ac_add_options --enable-official-branding
    233237
Note: See TracChangeset for help on using the changeset viewer.