From 9c0b1bf6152b4fc1fe2eacac2c0fb22adefcfd67 Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Tue, 23 Apr 2024 01:37:43 -0400 Subject: [PATCH] add tc suite --- deps/ReactantExtra/BUILD | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/deps/ReactantExtra/BUILD b/deps/ReactantExtra/BUILD index 841308b17..714ab188e 100644 --- a/deps/ReactantExtra/BUILD +++ b/deps/ReactantExtra/BUILD @@ -7,6 +7,16 @@ package( default_visibility = ["//:__subpackages__"], ) +cc_toolchain_suite( + name = "ygg_cross_compile_toolchain_suite", + toolchains = { + "k8": ":ygg_x86_toolchain", + "darwin": ":ygg_x86_toolchain", + }, +) + +filegroup(name = "empty") + cc_toolchain( name = "ygg_x86_toolchain", all_files = ":empty", @@ -26,16 +36,7 @@ cc_toolchain_config( abi_version = "local", builtin_sysroot = "/opt/x86_64-linux-musl/bin/../x86_64-linux-musl/sys-root", compile_flags = [ - "--target=x86_64-unknown-linux-gnu", - "-fstack-protector", - "-Wall", - "-Wthread-safety", - "-Wself-assign", - "-Wunused-but-set-parameter", - "-Wno-free-nonheap-object", "-fcolor-diagnostics", - "-fno-omit-frame-pointer", - "-mavx", ], compiler = "gcc", coverage_compile_flags = ["--coverage"],