summaryrefslogtreecommitdiff
path: root/community/julia/PKGBUILD
blob: e8de39ab3f7c490faea60713d1bc3f42656349b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
eval "$(
  declare -f build | \
    sed '
      /^\s*make / i CFLAGS+=" -march=pentium4" \
                    CXXFLAGS+=" -march=pentium4"
      /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"/
    '
)"