blob: 12fb68df019a7782ee6e090a14ab9620b2063d92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# no LTO on i486
if [ "$CARCH" = 'i486' ]; then
sed -i '
1i options=(!lto)
' PKGBUILD
fi
if [ "$CARCH" == 'i486' ]; then
eval "$(
declare -f build | \
sed '
s/-ffat-lto-objects//g
'
)"
fi
|