Skip to content

Commit 3ab7b31

Browse files
committed
shot myself in the foot with the fixed enum extension in HAL_ENUM
1 parent cb955ba commit 3ab7b31

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

WORKSPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ MACOS_EXTRA_COMPILE_FLAGS = COMMON_EXTRA_COMPILE_FLAGS + [
163163
"-Wno-unused-private-field",
164164
]
165165

166+
CONLY_FLAGS = ["-Wno-c23-extensions"]
167+
166168
COMMON_EXTRA_CXX_FLAGS = [
167169
"-Wformat=2",
168170
"-Wno-unused-parameter",
@@ -185,6 +187,12 @@ MACOS_EXTRA_LINK_FLAGS = ["-Wl,-rpath,@loader_path"]
185187

186188
llvm_toolchain(
187189
name = "llvm_toolchain",
190+
conly_flags = {
191+
"darwin-aarch64": CONLY_FLAGS,
192+
"darwin-x86_64": CONLY_FLAGS,
193+
"linux-aarch64": CONLY_FLAGS,
194+
"linux-x86_64": CONLY_FLAGS,
195+
},
188196
cxx_standard = {"": "c++20"},
189197
extra_compile_flags = {
190198
"darwin-aarch64": MACOS_EXTRA_COMPILE_FLAGS,

0 commit comments

Comments
 (0)