summaryrefslogtreecommitdiff
path: root/core/libaio/PKGBUILD
blob: a4cbd68fc4dc90d1b763b8f7670ccb69f4048375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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')
prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i ../libaio-0.3.111-sizeof-template.patch
}