From 5a32f8f9b2f2540495e79cb39ce4a6861553fe79 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 5 Sep 2026 05:44:33 +0900 Subject: internal/rosa: separate native tools from libraries This removes most redundant runtime arguments and is useful for cross-compilation. Signed-off-by: Ophestra --- internal/rosa/cmake.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'internal/rosa/cmake.go') diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go index 8a67f4bc..f9e5e38c 100644 --- a/internal/rosa/cmake.go +++ b/internal/rosa/cmake.go @@ -34,14 +34,17 @@ type CMakeHelper struct { var _ Helper = new(CMakeHelper) -// extra returns the cmake handle alongside either ninja or make. -func (attr *CMakeHelper) extra() P { +// tools returns the cmake handle alongside either ninja or make. +func (attr *CMakeHelper) tools() P { if attr != nil && attr.Make { return P{_cmake, _make} } return P{_cmake, _ninja} } +// inputs is a noop. +func (*CMakeHelper) inputs() P { return nil } + // wantsChmod returns false. func (*CMakeHelper) wantsChmod() bool { return false } -- cgit v1.3.1