Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/arrayfire/PKGBUILD
diff options
context:
space:
mode:
authorMichael Straube <straubem@gmx.de>2017-09-11 15:42:21 +0200
committerMichael Straube <straubem@gmx.de>2017-09-11 15:42:21 +0200
commitab7da173d36033d6b5251d5bdbd62b4ccc2b477d (patch)
tree537c3ea98626f09a5e734f659da334279564a539 /community/arrayfire/PKGBUILD
parent662cc8b70d1f03fb45308269cb519fdeb20becd6 (diff)
community/arrayfire: add -m32
Diffstat (limited to 'community/arrayfire/PKGBUILD')
-rw-r--r--community/arrayfire/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/arrayfire/PKGBUILD b/community/arrayfire/PKGBUILD
new file mode 100644
index 00000000..0e946418
--- /dev/null
+++ b/community/arrayfire/PKGBUILD
@@ -0,0 +1,10 @@
+eval "$(
+ declare -f build | \
+ sed '
+ /^{/{
+ a\
+ export CFLAGS+=" -m32" \
+ export CXXFLAGS+=" -m32"
+ }
+ '
+)"