summaryrefslogtreecommitdiff
path: root/core/libidn/PKGBUILD
blob: 7abbc415c77b580bc49f8bb33f15fc5affc43a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# hotfix for FS#63334 (test crashes due to too agressive symbol elimination)
eval "$(
  declare -f build | \
    sed '
      /configure/ i \
        export LDFLAGS="-Wl,-O1,--sort-common,-z,relro,-z,now"
    '
  declare -f check | \
    sed '
      /make/ i \
        export LDFLAGS="-Wl,-O1,--sort-common,-z,relro,-z,now"
    '
)"