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