diff options
Diffstat (limited to 'internal/rosa/make.go')
| -rw-r--r-- | internal/rosa/make.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go index d6f1f0b9..0dab3a43 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -28,6 +28,8 @@ type MakeHelper struct { SkipConfigure bool // Alternative name for the configure script. ConfigureName string + // Add autoconf arguments regardless of ConfigureName. + ForceAutoconf bool // Flags passed to the configure script. Configure []KV // Host target triple, zero value is equivalent to the Rosa OS triple. @@ -100,9 +102,11 @@ func (attr *MakeHelper) script(t Toolchain, name string) string { if !attr.SkipConfigure { configure = attr.ConfigureName if configure == "" { - configure += `/usr/src/` + name + `/configure \ + configure += `/usr/src/` + name + `/configure` + } + if attr.ForceAutoconf || attr.ConfigureName == "" { + configure += ` \ --prefix=/system` - host := `"${ROSA_TRIPLE}"` if attr.Host != "" { host = attr.Host |
