summaryrefslogtreecommitdiff
path: root/community/julia
diff options
context:
space:
mode:
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"/
+ '
+)"