Skip to content

Commit

Permalink
updpatch: dcd 1:0.15.2-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia authored and felixonmars committed Aug 14, 2024
1 parent 6a317dd commit 8b4ccbe
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dcd/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
diff --git PKGBUILD PKGBUILD
index 9e63fc63d..0623f5d6a 100644
--- PKGBUILD
+++ PKGBUILD
@@ -44,7 +44,7 @@ prepare() {
git submodule update
@@ -42,7 +42,7 @@ prepare() {

# Only LDC have -O5
- sed -i "/-O5/ a -flto=full -linker=gold -link-defaultlib-shared=false -L=\"$LDFLAGS\"\\\\" makefile
+ sed -i "/-O5/ a -link-defaultlib-shared=false -L=\"$LDFLAGS\"\\\\" makefile
export _ldFlags="$(echo -ne $LDFLAGS | sed -e 's/-Wl,/-L=/g' -e 's/=auto/=full')"
- sed -i "/-O5/ a -linker=gold -link-defaultlib-shared=false $ldFlags\\\\" makefile
+ sed -i "/-O5/ a -link-defaultlib-shared=false $ldFlags\\\\" makefile
}

build() {

0 comments on commit 8b4ccbe

Please sign in to comment.