blob: 1809af7b8691f05d3828f000afbb730a74aa2ec7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# see also FS32#30
# compat-0_1.c:(.text+0xaf): undefined reference to `__stack_chk_fail_local'
eval "$(
declare -f build | \
sed '
s/\(CFLAGS=.*\)/#\1/
s@make$@CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe -fno-stack-protector" make@
'
)"
# see also FS#60283
source+=('libaio-0.3.111-sizeof-template.patch')
md5sums+=('8c240ea721460fa2d34f9e134b57544d')
eval "$(
{
declare -f prepare || \
printf 'prepare() {\n}\n'
} \
| sed '
$i cd "${srcdir}/${pkgname}-${pkgver}" \
patch -Np1 -i ../libaio-0.3.111-sizeof-template.patch
'
)"
|