Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/julia/PKGBUILD
blob: a00df5b24ee52175a1a7c5fdacf296cd1c9e012e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
eval "$(
  declare -f build | \
    sed '
      /.*make.*$_buildopts/ i \
        _buildopts="${_buildopts/MARCH=x86-64/MARCH=pentium4}" \
    '
)"

eval "$(
  declare -f package | \
    sed '
      /.*make.*$_buildopts/ i \
        _buildopts="${_buildopts/MARCH=x86-64/MARCH=pentium4}" \
    '
)"

eval "$(
  declare -f build | \
    sed '
      /^\s*make / i export CFLAGS+=" -march=pentium4" \
                    export CXXFLAGS+=" -march=pentium4"
    '
)"

eval "$(
  declare -f package | \
    sed '
      /^\s*make / i export CFLAGS+=" -march=pentium4" \
                    export CXXFLAGS+=" -march=pentium4"
    '
)"