devtools/config/makepkg
Jan Alexander Steffens (heftig) c356995dc1
feat(config): Add -z pack-relative-relocs to LDFLAGS
This moves relative relocations from the `.rela.dyn` section into a new
`.relr.dyn` section with a significantly more compact encoding,
supported since glibc 2.36, GNU Binutils 2.38 and LLVM 15.

This can reduce the size of libraries a lot, e.g. the installed size of
`libphonenumber` dropped from about 17 MB to 7 MB.

For more info, see
https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/23.

Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2023-12-03 20:11:24 +01:00
..
x86_64.conf feat(config): Add -z pack-relative-relocs to LDFLAGS 2023-12-03 20:11:24 +01:00
x86_64_v3.conf feat(config): Add -z pack-relative-relocs to LDFLAGS 2023-12-03 20:11:24 +01:00