diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-23 01:54:17 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-23 01:54:17 +0900 |
| commit | ac60441cfe5b7018314ebe2b72e9b4db834b70f3 (patch) | |
| tree | 5c0cc271420a404f3dea01bae0057889ac5cffcb /internal/rosa/make.go | |
| parent | 9bd84ff006a29c935ca761c9ebb8ae50106a429f (diff) | |
internal/rosa: insert musl when cross-compiling
This is otherwise never added to the cross root.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/make.go')
| -rw-r--r-- | internal/rosa/make.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 + `' ` } |
