blob: 91955360c85f44bf70d496b4ffa6032c89d464fe (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# bring back changes of 617b84f70caf
source+=(nss-3.58-no-plt.patch)
b2sums+=('0477664df27febc3e2bc88a1f25ed55251e4e3baa869e47fc33c18f94899c92e92db545c7bf42017c5c985ab243aa8648064ab7d6244d9bfd68892072788675c')
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
'
)"
# workaround FS32#218 (segfaults in library signer), use clang
#(also enable verbose builds, so we see potential issues)
makedepends+=(clang)
eval "$(
declare -f build | \
sed '
s/build.sh/build.sh -v/g
s/build.sh/build.sh --clang/g
'
)"
# for clang on i486
if [ "${CARCH}" = "i486" ]; then
makedepends+=(llvm14-libs)
fi
|