# add -latomic where needed (i486)
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/make/LDFLAGS='-latomic' make/
      '
  )"
fi