aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/cmake.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-23 02:46:27 +0900
committerOphestra <cat@gensokyo.uk>2026-10-23 02:46:27 +0900
commita0689a1f656be32052cd067140d982b4b4e6aa8e (patch)
tree88c36dd5bcc334172af5911711e606433d761463 /internal/rosa/cmake.go
parent9a9f53daac112c841487a3c530318601c102895a (diff)
internal/rosa/meson: support cross-compilation
Meson does not want to play nice and accept arguments or environment variables for cross-compiling configuration, so a so-called mfile had to be generated and placed here. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/cmake.go')
-rw-r--r--internal/rosa/cmake.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go
index c037a239..8cfbf00c 100644
--- a/internal/rosa/cmake.go
+++ b/internal/rosa/cmake.go
@@ -35,7 +35,7 @@ type CMakeHelper struct {
var _ Helper = new(CMakeHelper)
// tools returns the cmake handle alongside either ninja or make.
-func (attr *CMakeHelper) tools() P {
+func (attr *CMakeHelper) tools(Toolchain) P {
if attr != nil && attr.Make {
return P{_cmake, _make}
}