From 4f18da22d9a56d077aae2869371e26ab307e6a34 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 12 Apr 2018 07:04:27 +0200 Subject: core/libaio: fixed linking issue (see FS32#30) --- core/libaio/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 core/libaio/PKGBUILD (limited to 'core/libaio') diff --git a/core/libaio/PKGBUILD b/core/libaio/PKGBUILD new file mode 100644 index 00000000..92c69c31 --- /dev/null +++ b/core/libaio/PKGBUILD @@ -0,0 +1,9 @@ +# 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@ + ' +)" -- cgit v1.2.3