Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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@
+ '
+)"