build: gen pkg to object

This commit is contained in:
visualfc
2025-06-23 15:12:07 +08:00
parent 9c59ac297d
commit 249f85a25e
3 changed files with 87 additions and 39 deletions

View File

@@ -146,7 +146,7 @@ func TestUseCrossCompileSDK(t *testing.T) {
}
}
} else {
if len(export.CCFLAGS) != 0 || len(export.CFLAGS) != 0 {
if /*len(export.CCFLAGS) != 0 ||*/ len(export.CFLAGS) != 0 {
t.Errorf("Expected empty export, got CCFLAGS=%v, CFLAGS=%v, LDFLAGS=%v",
export.CCFLAGS, export.CFLAGS, export.LDFLAGS)
}