aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/make.go4
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