summarylogtreecommitdiffstats
path: root/makepkg-riscv64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'makepkg-riscv64.patch')
-rw-r--r--makepkg-riscv64.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/makepkg-riscv64.patch b/makepkg-riscv64.patch
index 1567ce3834ba..f3aa91a66c13 100644
--- a/makepkg-riscv64.patch
+++ b/makepkg-riscv64.patch
@@ -1,5 +1,5 @@
---- /usr/share/devtools/makepkg-x86_64.conf 2023-01-06 03:00:58.000000000 +0800
-+++ makepkg-riscv64.conf 2023-01-16 23:30:46.599890442 +0800
+--- /usr/share/devtools/makepkg.conf.d/x86_64.conf 2024-02-10 08:01:05.000000000 +0800
++++ riscv64.conf 2024-02-11 00:37:44.643963368 +0800
@@ -35,14 +35,14 @@
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
@@ -17,5 +17,5 @@
- -fstack-clash-protection -fcf-protection"
+ -fstack-clash-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
- LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
- LTOFLAGS="-flto=auto"
+ LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
+ -Wl,-z,pack-relative-relocs"