pacman/scripts/libmakepkg/buildenv
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
..
buildflags.sh.in Make link time optimization flags configurable 2022-10-02 11:20:32 +10:00
compiler.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
debugflags.sh.in libmakepkg: add extra buildflags only when buildflags is not disabled 2022-10-02 11:19:09 +10:00
lto.sh.in Make link time optimization flags configurable 2022-10-02 11:20:32 +10:00
makeflags.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
meson.build Add link time optimization support to makepkg 2021-03-03 14:35:45 +10:00