diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-22 14:26:46 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-22 14:26:46 +0900 |
| commit | 1b1733b984a1481d29d747bf208029ceafd75564 (patch) | |
| tree | 9e0b1559bb03b81f5f986633bac0fb2341a14db0 /internal/rosa/make.go | |
| parent | 016d745b94b31d0ef4fd54d2a04dc9e09b3f0d20 (diff) | |
internal/rosa/make: set target and program name
This helps some configure scripts behave correctly.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/make.go')
| -rw-r--r-- | internal/rosa/make.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go index bf0f3cea..2fdc2dec 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -142,7 +142,10 @@ export CXX='clang++ --target=` + target + ` -isysroot=/system/` + t.arch + `' } if attr.Host != `""` { configure += ` \ - --host=` + host + --program-prefix='' \ + --program-suffix='' \ + --host=` + host + ` \ + --target=` + host } if attr.Build != "" { |
