Skip to content

Commit c4500ac

Browse files
committed
Use --cxxopt instead of --copt to specify -Wno-invalid-offsetof
Signed-off-by: Michael Warres <[email protected]>
1 parent e5407f4 commit c4500ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +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
68+
build:gcc --cxxopt -Wno-invalid-offsetof
6969

7070
# Use Zig C/C++ compiler.
7171
build:zig-cc --incompatible_enable_cc_toolchain_resolution

0 commit comments

Comments
 (0)