pacman/scripts/libmakepkg/lint_config
Evangelos Foutras 51354b7da9 Make link time optimization flags configurable
We want to use -flto=auto in Arch Linux to speed up building, but we
can't hardcode it in buildenv/lto.sh because other downstreams might
have clang < 13.0.0 which did not recognize -flto=auto as equivalent
to -flto=full.

Introducing an LTOFLAGS variable to makepkg.conf seems the way to go.

Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit e1ce2351f5)
2022-10-02 11:20:32 +10:00
..
ext.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
meson.build libmakepkg: add lint_config to validate SRCEXT/PKGEXT 2019-05-28 11:13:40 +10:00
paths.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
source_date_epoch.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
variable.sh.in Make link time optimization flags configurable 2022-10-02 11:20:32 +10:00