build: show full link errors

This commit is contained in:
Li Jie
2025-01-11 23:33:03 +08:00
parent b07116f302
commit 38cb89a946

View File

@@ -376,6 +376,7 @@ func linkMainPkg(ctx *context, pkg *packages.Package, pkgs []*aPackage, linkArgs
args = append( args = append(
args, args,
"-o", app, "-o", app,
"-Wl,--error-limit=0",
"-fuse-ld=lld", "-fuse-ld=lld",
"-Wno-override-module", "-Wno-override-module",
// "-O2", // FIXME: This will cause TestFinalizer in _test/bdwgc.go to fail on macOS. // "-O2", // FIXME: This will cause TestFinalizer in _test/bdwgc.go to fail on macOS.