summaryrefslogtreecommitdiff
path: root/extra/dhcp/PKGBUILD
blob: d6f2228f444fec1fb59593b07e7baea643b0d07c (plain)
1
2
3
4
5
6
7
8
9
10
# add -latomic where needed (i486)
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        /configure/ i \
        export LDFLAGS+=" -latomic "
      '
  )"
fi