summaryrefslogtreecommitdiff
path: root/core/binutils/PKGBUILD
blob: abd0a9956790a588436394373a5e7451f23d8991 (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
eval "$(
  declare -f build | \
    sed '
      s/--enable/--enable-64-bit-bfd \0/
      s,https://bugs.archlinux.org/,https://bugs.archlinux32.org/,
    '
)"

# segfaults in ld of binutils 2.30 needs the binutils_2_30 branch
# for now, see https://sourceware.org/bugzilla/show_bug.cgi?id=23194
# this patch was done by diffing the branch against the tag and removing
# some conflicts, also 0003-PR22836-r-s-doesnt-work-with-g3-using-GCC-7.patch
# needs disabling because it has already been cherry-picked into the branch.
# cherry-picking onlt the fix for P23194 leads to assertion violations in
# the GOT, so this was not done.
source+=(binutils-2.30-branch.patch)
md5sums+=('a5ba9fc9de327b2eff071e19429c6e67')

eval "$(
  declare -f prepare | \
    sed '
      s/.*0003-PR22836/#\0/
      /0003-PR22836/a patch -p1 -i ${srcdir}/binutils-2.30-branch.patch
    '
)"