diff options
Diffstat (limited to 'internal/rosa/make.go')
| -rw-r--r-- | internal/rosa/make.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go index 0747d850..71eeaa25 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -41,6 +41,8 @@ type MakeHelper struct { Build string // Do not clear program prefix/suffix. DefaultName bool + // Omit the target argument. + AutoTarget bool // Use the dependency-free [GenericHelper] make. Early bool @@ -149,8 +151,12 @@ export CXX='clang++ --target=` + target + ` -isysroot=/system/` + arch + `' --program-suffix=''` } configure += ` \ - --host=` + host + ` \ + --host=` + host + + if !attr.AutoTarget { + configure += ` \ --target=` + host + } } if attr.Build != "" { |
