diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-23 03:21:50 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-23 03:21:50 +0900 |
| commit | 61a7b9c421c3661c7678a58546b365259e244256 (patch) | |
| tree | c75aad9267ce76e9ef217ba4b5b2a446426ecef8 | |
| parent | a0689a1f656be32052cd067140d982b4b4e6aa8e (diff) | |
internal/rosa/make: set --with-sysroot
This does not have any effect so far, but it feels best to set this
to avoid running into more autotools jank.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/make.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go index c6a1d2fd..c499de1e 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -150,6 +150,10 @@ export CXX='clang++ --target=` + target + ` --sysroot=/system/` + arch + `' --program-prefix='' \ --program-suffix=''` } + if cross { + configure += ` \ + --with-sysroot='/system/` + arch + `'` + } configure += ` \ --host=` + host |
