openwrt-packages/utils/ripgrep
krant 64c7a4d7a1 ripgrep: update to 14.1.0
- Link pcre2 dynamically
  - it was linked statically and libpcre2 dependency was useless
  - it magically fixes build error when global LTO is enabled
  - it reduces resulting binary size
- Use 'release-lto' cargo profile to further reduce binary size

'rg' binary sizes comparision (arm_cortex-a9+neon):
- 4293KB: unmodified
- 4018KB: dynamic libpcre2
- 3521KB: dynamic libpcre2 + release-lto

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-22 10:50:24 -08:00
..
Makefile ripgrep: update to 14.1.0 2024-02-22 10:50:24 -08:00