Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/boost/PKGBUILD
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