The shipped configuration does not work at all on BLFS, so these files
are completely useless.
We were installing the files then overwriting them, but preventing the
installation can make our life easier when we reinstall/upgrade shadow
(then we don't need to recreate our BLFS-specific configuration).
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.
This reverts commit 4ae4523d55.
Phew, we don't use system ICU for TB, at all. And the bug preventing us
from using system ICU is still not fixed in 74.1.
Carrying this "fix" actually causes the package to FTBFS with shipped
ICU.
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.
Arch and Gentoo do this for Firefox, Thunderbird, and SpiderMonkey.
I've tested SpiderMonkey with this for a while. I'll enable this
for Firefox and Thunderbird too after testing them.
Sort all the switches (but --prefix) and explanations in alphabetic
order by the way.
The shadow installation procedure overwrites many files in /etc/pam.d/
which will render system login and su commands (among others) inoperative.
This update adds a warning at the beginning of the build instructions
so it will be hard to miss.