Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updpatch: pacman, ver=7.0.0.r6.gc685ae6-1.1 #340

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pacman/loong.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/PKGBUILD b/PKGBUILD
index db1fa23..82406ea 100644
index 6bf51ca..2fe41f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ depends=(
Expand Down Expand Up @@ -34,7 +34,7 @@ index db1fa23..82406ea 100644
+source+=(makepkg.loong64.diff
+ pacman-use-loong64.patch
+ pacman.loong64.diff)
+sha256sums+=('944c57e9abbbd9a550a6d1b5a234fd11a6cba29dc136f72c9d3ce33c5ef581cc'
+sha256sums+=('7d596664948b82aaef8f0c6149f00ebbce830433216b504e58fbe6fa0ea4cf63'
+ '5ab2a0ae2747184e7a3b0d4f6f45f0a66b6ad85e853b78fb77102e4b32667cdc'
+ 'fadd0c5453aadfcb89cebb0bfc64674f68c7d988e512d8a4fca14718afa2cc62')
+
Expand Down
10 changes: 5 additions & 5 deletions pacman/makepkg.loong64.diff
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@@ -35,18 +35,16 @@
@@ -35,18 +35,17 @@
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
Expand All @@ -10,12 +10,12 @@
#-- Compiler and Linker Flags
#CPPFLAGS=""
-CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
- -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
+CFLAGS="-mabi=lp64d -march=loongarch64 -mlsx -O2 -pipe -fexceptions \
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
- -fstack-clash-protection -fcf-protection \
- -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
+CFLAGS="-mabi=lp64d -march=loongarch64 -mlsx -O2 -pipe -fexceptions \
+ -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
+ -fstack-clash-protection"
+ -fstack-clash-protection \
+ -fno-omit-frame-pointer"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
-LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
- -Wl,-z,pack-relative-relocs"
Expand Down