Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-04-12 07:04:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-04-12 07:04:27 +0200
commit4f18da22d9a56d077aae2869371e26ab307e6a34 (patch)
tree25b1f7907f6349be5e7430f385c04a0daa3a55ba /core
parent03871e1106f97a646b3bf31a64c4c06833545c45 (diff)
core/libaio: fixed linking issue (see FS32#30)
Diffstat (limited to 'core')
-rw-r--r--core/libaio/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
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@
+ '
+)"