summaryrefslogtreecommitdiff
path: root/core/nss/PKGBUILD
blob: d48452fcc54bba58573011367621ffdbca30ca59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# bring back changes of 617b84f70caf

source+=(nss-3.58-no-plt.patch)
sha256sums+=('3d08665a7d693f495bd965e4f629cbf4671d4cf00567a391fd0b2e0e40153d57')

eval "$(
  declare -f prepare | \
    sed '
      /cd nss-/a patch -Np2 -i "$srcdir/nss-3.58-no-plt.patch"
    '
)"

# set IA32 as target for build.sh
eval "$(
  declare -f build | \
    sed '
      s/--target x64/--target ia32/g
    '
)"

# signing of libs leads to a segfault on IA32, disabling it
eval "$(
  declare -f build | \
    sed '
      s/build.sh/build.sh -Dsign_libs=0 /g
    '
)"