From 89ddfeeb50b5dc02270608f02032dca1a8712f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Wed, 8 Jul 2026 10:56:09 -0500 Subject: [PATCH] define `REACTANT_USING_BB` on ReactantBuilder/Yggdrasil toolchains --- deps/ReactantExtra/BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deps/ReactantExtra/BUILD b/deps/ReactantExtra/BUILD index 7d4ba563c5..ff1a11c087 100644 --- a/deps/ReactantExtra/BUILD +++ b/deps/ReactantExtra/BUILD @@ -276,6 +276,7 @@ cc_toolchain_config( # "/opt/x86_64-linux-musl/lib/gcc/x86_64-linux-musl/12.1.0/include", # "/opt/x86_64-linux-musl/include", ], + compile_flags = ["-DREACTANT_USING_BB"], dbg_compile_flags = ["-g"], host_system_name = "linux", link_flags = [ @@ -397,6 +398,7 @@ cc_toolchain_config( "/opt/x86_64-linux-musl/lib/clang/17/include", "/opt/x86_64-linux-musl/lib/clang/18/include", ], + compile_flags = ["-DREACTANT_USING_BB"], dbg_compile_flags = ["-g"], host_system_name = "linux", link_flags = [ @@ -525,6 +527,7 @@ cc_toolchain_config( "/opt/x86_64-linux-musl/lib/clang/17/include", "/opt/x86_64-linux-musl/lib/clang/18/include", ], + compile_flags = ["-DREACTANT_USING_BB"], dbg_compile_flags = ["-g"], host_system_name = "linux", link_flags = [ @@ -641,6 +644,7 @@ cc_toolchain_config( "/opt/x86_64-linux-musl/lib/clang/17/include", "/opt/x86_64-linux-musl/lib/clang/18/include", ], + compile_flags = ["-DREACTANT_USING_BB"], dbg_compile_flags = [ "-g", ], @@ -761,6 +765,7 @@ cc_toolchain_config( "/opt/x86_64-linux-musl/lib/clang/17/include", "/opt/x86_64-linux-musl/lib/clang/18/include", ], + compile_flags = ["-DREACTANT_USING_BB"], dbg_compile_flags = [ "-g", "-stdlib=libc++", @@ -882,6 +887,7 @@ cc_toolchain_config( "/opt/x86_64-linux-musl/lib/clang/17/include", "/opt/x86_64-linux-musl/lib/clang/18/include", ], + compile_flags = ["-DREACTANT_USING_BB"], dbg_compile_flags = [ "-g", ],