Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/julia
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-08-21 10:10:12 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-08-21 10:10:12 +0200
commitda315ad2a5288d310eb55de2650778dc6db03abb (patch)
treee6f40d3498c26045af26a1f2fb1d17a03b64b200 /community/julia
parented6d8ac3ae6719a9e60ea34dfb4526522f704b95 (diff)
community/julia: set MARCH and -march also for package_julia, not just for build
Diffstat (limited to 'community/julia')
-rw-r--r--community/julia/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/julia/PKGBUILD b/community/julia/PKGBUILD
index 2c862052..e8de39ab 100644
--- a/community/julia/PKGBUILD
+++ b/community/julia/PKGBUILD
@@ -6,3 +6,12 @@ eval "$(
/MARCH="/ s/"x86-64"/"pentium4"/
'
)"
+
+eval "$(
+ declare -f package_julia | \
+ sed '
+ /^\s*make / i CFLAGS+=" -march=pentium4" \
+ CXXFLAGS+=" -march=pentium4"
+ /MARCH="/ s/"x86-64"/"pentium4"/
+ '
+)"