From ef6475da205e742b25f3f183c7957ec1a483215d Mon Sep 17 00:00:00 2001 From: Parinita Badre Date: Wed, 10 Jun 2026 19:34:14 -0700 Subject: [PATCH] Disable fully_static_link for htool on 32-bit platforms Building htool for 32-bit ARM (armv7a and armv7ahf) fails during release builds because the OpenBMC toolchain does not contain static standard libraries (libc.a, librt.a, etc.). Disabling the fully_static_link feature for this cc_binary target allows it to fall back to dynamic linking, resolving the compilation failure. --- examples/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/BUILD b/examples/BUILD index db68c21..c41e3f4 100644 --- a/examples/BUILD +++ b/examples/BUILD @@ -239,6 +239,7 @@ cc_binary( "htool_usb.c", "htool_usb.h", ], + features = ["-fully_static_link"], deps = [ ":host_commands", ":srtm",