pacman/scripts/libmakepkg/buildenv
Allan McRae 0352053e30 LTO: Add -flto to LDFLAGS for clang
GCC automatically detects when it is linking LTO objects, but clang does
not.  Add -flto to LDFLAGS to make this work for clang too.

Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 26ee6ff6ad)
2022-10-02 11:15:37 +10:00
..
buildflags.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
compiler.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
debugflags.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
lto.sh.in LTO: Add -flto to LDFLAGS for clang 2022-10-02 11:15:37 +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