summaryrefslogtreecommitdiff
path: root/config/makepkg
AgeCommit message (Collapse)Author
2023-12-03feat(config): Add -z pack-relative-relocs to LDFLAGSJan Alexander Steffens (heftig)
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-03chore(config): Use one -Wl in LDFLAGS per logical flagJan Alexander Steffens (heftig)
This will separate logical flags with whitespace and make it easier to split the flags across multiple lines. Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2023-09-19fix(makepkg.conf): use breezy for the bzr protocol in makepkg.confLevente Polyak
Pacman does not resolve provides for the protocol packages, hence we need to switch to the new package name for bzr. Related-to: https://gitlab.archlinux.org/pacman/pacman/-/merge_requests/78 Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2023-01-03makepkg.conf: enable rust debuginfoLevente Polyak
This enables DEBUG_RUSTFLAGS with the appropriate debuginfo settings. The empty RUSTFLAGS variable is required workaround to avoid double compilation during package function call. The issue is that the behavior of the current implementation of buildenv_debugflags is not idempotent, so consecutive calls will append the same flags again leading to cargo consider the build inputs to have changed. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2022-11-07makepkg.conf: Include debug option by defaultMorten Linderud
Signed-off-by: Morten Linderud <foxboron@archlinux.org>
2022-06-22make: split out config files into conf directoryLevente Polyak