openwrt/package
Rosen Penev 39b0f081ec apk: build static
libapk as a library is used nowhere else and makes no sense to link it
shared. By linking static, we can take advantage of LTO and get the size
reduced further.

Some numbers locally:

Before:

168K staging_dir/target-mips_24kc_musl/root-ath79/usr/bin/apk*
252K staging_dir/target-mips_24kc_musl/root-ath79/usr/lib/libapk.so.2.99.0*

Static:
344K staging_dir/target-mips_24kc_musl/root-ath79/usr/bin/apk*

Static + LTO:
305K staging_dir/target-mips_24kc_musl/root-ath79/usr/bin/apk*

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17109
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-11-29 11:32:34 +01:00
..
base-files base-files: fix manger->manager typo 2024-11-28 08:10:44 +00:00
boot mediatek: Routerich AX3000: add OpenWrt U-Boot layout 2024-11-24 23:41:02 +01:00
devel perf: fix version for APK 2024-11-12 17:55:16 +01:00
firmware linux-firmware: Add support for Intel AX411 2024-11-23 19:06:11 +01:00
kernel generic: backport support for KTD2026/7 rgb(w) led controller 2024-11-28 21:59:58 +01:00
libs gmp: use same source tarball for tools/gmp and package/libs/gmp 2024-11-28 15:53:32 +00:00
network netifd: update to Git 768027c5a7640137857f412f554227abd6160cdd (2024-11-27) 2024-11-27 21:34:08 +00:00
system apk: build static 2024-11-29 11:32:34 +01:00
utils omnia-eeprom: depend only on subtarget 2024-11-18 19:06:29 +01:00
Makefile build: fix filtering of non-upgradable packages 2024-11-21 17:55:45 +01:00