diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-12 17:25:15 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-12 17:25:15 +0900 |
| commit | 04513c05102d6b443106ebfa4f7f20f23fee2513 (patch) | |
| tree | 7e7ad6e9acc32c9bd7e320aab58dec7c7753007a /internal | |
| parent | 28ebf973d6af4e28c706e90889957a8553125fac (diff) | |
internal/rosa/gnu: gmp explicit CC
The configure script is hard coded to use gcc without fallback on riscv64.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/gnu.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/rosa/gnu.go b/internal/rosa/gnu.go index a4e87938..f6b732ac 100644 --- a/internal/rosa/gnu.go +++ b/internal/rosa/gnu.go @@ -1092,7 +1092,11 @@ func (t Toolchain) newGMP() (pkg.Artifact, string) { "gmp-"+version+".tar.bz2", mustDecode(checksum), pkg.TarBzip2, - ), nil, (*MakeHelper)(nil), + ), &PackageAttr{ + Env: []string{ + "CC=cc", + }, + }, (*MakeHelper)(nil), M4, ), version } |
