diff --git a/Meta/gn/build/BUILD.gn b/Meta/gn/build/BUILD.gn index 8e05284881..848265da69 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" ] }