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-26 12:47:55 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-08-26 12:47:55 +0000
commit6a866c7f9441ba9d19d027a374f03e8627eda8a7 (patch)
tree8248799663b0174f5700ff9fe89ec2526ea4257d /community/julia
parent3654737bd83ae2c478e0347cf64534435a419d6e (diff)
parent913e651aec1bc026cd1fba641d8cf0a9bbf7dbda (diff)
Merge branch 'master' into i486
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"/
+ '
+)"