treewide: refactor to use PKG_BUILD_FLAGS:=lto
authorAndre Heider <a.heider@gmail.com>
Thu, 23 Mar 2023 08:27:01 +0000 (09:27 +0100)
committerAndre Heider <a.heider@gmail.com>
Sat, 8 Apr 2023 06:38:54 +0000 (08:38 +0200)
commite7d9c865036d7bc2ac30604e8573f25ae601aed1
tree5efb8a25df387e8e79356447c648ecc3306176b3
parent35f4ef76e0c88b690ec55f26aed072c4c5989eff
treewide: refactor to use PKG_BUILD_FLAGS:=lto

See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
54 files changed:
libs/boost/Makefile
libs/libcap-ng/Makefile
libs/libdcwproto/Makefile
libs/libdcwsocket/Makefile
libs/libgd/Makefile
libs/libnpupnp/Makefile
libs/libplist/Makefile
libs/libtins/Makefile
libs/libv4l/Makefile
libs/libwebp/Makefile
libs/log4cplus/Makefile
libs/minizip/Makefile
libs/nspr/Makefile
libs/qrencode/Makefile
libs/sbc/Makefile
libs/taglib/Makefile
mail/emailrelay/Makefile
multimedia/graphicsmagick/Makefile
multimedia/imagemagick/Makefile
multimedia/ttymidi-sysex/Makefile
multimedia/v4l2rtspserver/Makefile
net/aria2/Makefile
net/chrony/Makefile
net/cifs-utils/Makefile
net/clamav/Makefile
net/dcstad/Makefile
net/dcwapd/Makefile
net/foolsm/Makefile
net/frr/Makefile
net/iperf/Makefile
net/libreswan/Makefile
net/microsocks/Makefile
net/mosh/Makefile
net/mrmctl/Makefile
net/nfdump/Makefile
net/open-iscsi/Makefile
net/open-isns/Makefile
net/openvswitch/Makefile
net/ovn/Makefile
net/shadowsocks-libev/Makefile
net/tor/Makefile
net/transmission/Makefile
sound/espeak/Makefile
utils/acpid/Makefile
utils/ap51-flash/Makefile
utils/coremark/Makefile
utils/domoticz/Makefile
utils/dump1090/Makefile
utils/gptfdisk/Makefile
utils/readsb/Makefile
utils/smartmontools/Makefile
utils/unrar/Makefile
utils/xz/Makefile
utils/zsh/Makefile