summaryrefslogtreecommitdiff
path: root/core/openssl/PKGBUILD
blob: 4446cbc674851169daed193dcb0ccf59b8496735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# switch to 32-bit target (was linux-elf before, which I think is wrong also for i686)
eval "$(
  declare -f build | \
    sed '
      s@linux-x86_64@linux-generic32@
    '
)"

# i486-specific, disable hand-crafted assembly code
if [ "${CARCH}" = "i486" ]; then
  eval "$(
    declare -f build | \
      sed '
        s@no-ssl3-method@no-ssl3-method no-ssl2 no-ssl3@
      '
  )"
fi