# FIXME: bfd fails to find aws-lc-sys symbols while lld breaks
# proc-macro2, so we only enable lld here for c/c++ but not rust.
if ab_match_arch loongson3; then
        export LDFLAGS="${LDFLAGS} -Wl,-z,notext -fuse-ld=lld"
fi
