pacman/scripts/libmakepkg/buildenv
Evangelos Foutras e1ce2351f5 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>
2022-03-06 14:45:36 +10:00
..
buildflags.sh.in Make link time optimization flags configurable 2022-03-06 14:45:36 +10:00
compiler.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
debugflags.sh.in libmakepkg: add extra buildflags only when buildflags is not disabled 2022-01-09 12:45:58 +10:00
lto.sh.in Make link time optimization flags configurable 2022-03-06 14:45:36 +10:00
makeflags.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
meson.build Add link time optimization support to makepkg 2021-03-03 14:35:45 +10:00