Skip to content

Commit

Permalink
updpatch: ob-xd 2.10-2
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Jul 30, 2023
1 parent 8705586 commit b54d56e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ob-xd/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
diff --git PKGBUILD PKGBUILD
index 3e0b4d0..79efc48 100644
--- PKGBUILD
+++ PKGBUILD
@@ -67,6 +67,9 @@ prepare() {
@@ -73,6 +73,9 @@ prepare() {
# use system juce
sed -e 's/useGlobalPath="0"/useGlobalPath="1"/g' -i OB-Xd.jucer
patch -p1 -i "$srcdir/use-system-juce.patch"

+ # update arch info for rv64
+ sed -i 's/linuxArchitecture="-m64"/linuxArchitecture="-march=rv64gc"/' OB-Xd.jucer
+ sed -i 's/linuxArchitecture="-m64"/linuxArchitecture="-march=rv64gc"/' OB-Xd\ Linux.jucer
+
# generate desktop file
gendesk -n \
Expand Down

0 comments on commit b54d56e

Please sign in to comment.