summaryrefslogtreecommitdiff
path: root/core/openssl-1.0/PKGBUILD
blob: bff1d9e0ff8b8e5ec53646e2354a11cc2d3467ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# override openssltarget and optflags for our CARCHs
eval "$(
  declare -f build | \
    sed '
      /.*.\/Configure.*/ i \
      openssltarget=linux-generic32 \
      if [ "${CARCH}" == 'i686' ]; then \
        optflags='no-sse2' \
      elif [ "${CARCH}" == 'i486' ]; then \
        optflags='386' \
      fi
    '
)"