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.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go
index 1c0e52d6..a41db646 100644
--- a/internal/rosa/make.go
+++ b/internal/rosa/make.go
@@ -103,15 +103,18 @@ func (attr *MakeHelper) script(t Toolchain, name string) string {
}
var configure string
+ target := t.triple()
if !attr.SkipConfigure {
- configure = attr.ConfigureName
+ configure += attr.ConfigureName
if configure == "" {
configure += `/usr/src/` + name + `/configure`
}
if attr.ForceAutoconf || attr.ConfigureName == "" {
configure += ` \
--prefix=/system`
- host := `"${ROSA_TRIPLE}"`
+ host := target
+ build := host
+
if attr.Host != "" {
host = attr.Host
}
@@ -120,7 +123,6 @@ func (attr *MakeHelper) script(t Toolchain, name string) string {
--host=` + host
}
- build := `"${ROSA_TRIPLE}"`
if attr.Build != "" {
build = attr.Build
}