Skip to content

Commit d931dd0

Browse files
authored
build: add config for GCC compiler. (proxy-wasm#259)
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 08e2374 commit d931dd0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ build:clang --action_env=BAZEL_COMPILER=clang
88
build:clang --action_env=CC=clang
99
build:clang --action_env=CXX=clang++
1010

11+
# Use GCC compiler.
12+
build:gcc --action_env=BAZEL_COMPILER=gcc
13+
build:gcc --action_env=CC=gcc
14+
build:gcc --action_env=CXX=g++
15+
1116
# Use Zig C/C++ compiler.
1217
build:zig-cc --incompatible_enable_cc_toolchain_resolution
1318
build:zig-cc --extra_toolchains @zig_sdk//:aarch64-linux-gnu.2.28_toolchain

0 commit comments

Comments
 (0)