Skip to content

Commit

Permalink
addpatch: libunwind 1.7.2-1
Browse files Browse the repository at this point in the history
- Replace x86_64 with riscv in provides to match actual file name
- Update config.{guess,sub}. Upstreamed to libunwind/libunwind#654.
  • Loading branch information
hack3ric authored and felixonmars committed Oct 31, 2023
1 parent 09991d4 commit 5494ba9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions libunwind/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- PKGBUILD
+++ PKGBUILD
@@ -18,7 +18,7 @@ depends=(
)
makedepends=(texlive-binextra)
provides=(
- libunwind-{coredump,ptrace,setjmp,x86_64}.so
+ libunwind-{coredump,ptrace,setjmp,riscv}.so
libunwind.so
)
source=(
@@ -42,6 +42,7 @@ build() {
)

cd libunwind-$pkgver
+ autoreconf -fi
./configure "${configure_options[@]}"
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make

0 comments on commit 5494ba9

Please sign in to comment.