# -latomc for i486
if [ "$CARCH" = 'i486' ]; then
eval "$(
declare -f build | \
sed '
/meson/ i LDFLAGS+=" -latomic"
'
)"
fi
# disabling LTO on i486
if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '
/local _meson_options.*/ a \
_meson_options+=(-Db_lto=false)
'
)"
fi