diff --git a/Meta/gn/build/BUILD.gn b/Meta/gn/build/BUILD.gn index 8e052848811..848265da698 100644 --- a/Meta/gn/build/BUILD.gn +++ b/Meta/gn/build/BUILD.gn @@ -129,6 +129,8 @@ config("compiler_defaults") { ] } + cflags += [ "-Wno-invalid-offsetof" ] + if (use_lld) { ldflags += [ "-fuse-ld=lld" ] }