Skip to content

Commit

Permalink
upgpatch: go 2:1.23.4-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeonacid authored and felixonmars committed Dec 5, 2024
1 parent 99d1377 commit 35d1604
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions go/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
diff --git PKGBUILD PKGBUILD
index 35ea9f9..2b57efd 100644
index b175d00..bff3e5a 100644
--- PKGBUILD
+++ PKGBUILD
@@ -30,8 +30,7 @@
@@ -30,8 +30,8 @@
'SKIP')

build() {
- export GOARCH=amd64
- export GOAMD64=v1 # make sure we're building for the right x86-64 version
+ export GOARCH=riscv64
+ export GORISCV64=rva20u64 # make sure we're building for the right riscv64 version
export GOROOT_FINAL=/usr/lib/go
export GOROOT_BOOTSTRAP=/usr/lib/go

@@ -50,7 +49,7 @@
@@ -50,7 +50,7 @@
cd "$pkgname"

install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go" \
Expand Down

0 comments on commit 35d1604

Please sign in to comment.