--- ./build/config/linux/BUILD.gn.orig +++ ./build/config/linux/BUILD.gn @@ -13,6 +13,9 @@ ldflags += [ "-Wl,--exclude-libs=libc++.a" ] } + # use lld + ldflags += [ "-fuse-ld=lld" ] + # Explicitly use static linking for libstdc++ and libgcc to minimize # dependencies. ldflags += [