Skip to content

Commit 394f075

Browse files
committed
Specify -Wno-invalid-offsetof for gcc builds
Signed-off-by: Michael Warres <[email protected]>
1 parent c1161ce commit 394f075

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ build:clang-tidy --output_groups=report
6565
build:gcc --action_env=BAZEL_COMPILER=gcc
6666
build:gcc --action_env=CC=gcc
6767
build:gcc --action_env=CXX=g++
68+
build:gcc --copt -Wno-invalid-offsetof
6869

6970
# Use Zig C/C++ compiler.
7071
build:zig-cc --incompatible_enable_cc_toolchain_resolution

0 commit comments

Comments
 (0)