From ac60441cfe5b7018314ebe2b72e9b4db834b70f3 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 23 Oct 2026 01:54:17 +0900 Subject: internal/rosa: insert musl when cross-compiling This is otherwise never added to the cross root. Signed-off-by: Ophestra --- internal/rosa/make.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/rosa/make.go') diff --git a/internal/rosa/make.go b/internal/rosa/make.go index 71eeaa25..e0b9094f 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -121,8 +121,8 @@ func (attr *MakeHelper) script(t Toolchain, name string) string { target := t.triple() if cross { configure += ` -export CC='clang --target=` + target + ` -isysroot=/system/` + arch + `' -export CXX='clang++ --target=` + target + ` -isysroot=/system/` + arch + `' +export CC='clang --target=` + target + ` --sysroot=/system/` + arch + `' +export CXX='clang++ --target=` + target + ` --sysroot=/system/` + arch + `' ` } -- cgit v1.3.1