* [gentoo-commits] proj/genkernel:master commit in: patches/btrfs-progs/5.6.1/
@ 2020-06-20 2:17 Thomas Deutschmann
0 siblings, 0 replies; only message in thread
From: Thomas Deutschmann @ 2020-06-20 2:17 UTC (permalink / raw
To: gentoo-commits
commit: cac127282baa5e8d13339ecedcb76c2c23f93be2
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 20 01:11:42 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jun 20 01:11:42 2020 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=cac12728
btrfs-progs: Honor LDFLAGS
Bug: https://bugs.gentoo.org/727168
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
patches/btrfs-progs/5.6.1/btrfs-honor-LDFLAGS.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/patches/btrfs-progs/5.6.1/btrfs-honor-LDFLAGS.patch b/patches/btrfs-progs/5.6.1/btrfs-honor-LDFLAGS.patch
new file mode 100644
index 0000000..891fe69
--- /dev/null
+++ b/patches/btrfs-progs/5.6.1/btrfs-honor-LDFLAGS.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -130,7 +130,7 @@ LIBBTRFS_LIBS = $(LIBS_BASE) $(LIBS_CRYPTO)
+
+ # Static compilation flags
+ STATIC_CFLAGS = $(CFLAGS) -ffunction-sections -fdata-sections
+-STATIC_LDFLAGS = -static -Wl,--gc-sections
++STATIC_LDFLAGS = $(LDFLAGS) -static -Wl,--gc-sections
+ STATIC_LIBS = $(STATIC_LIBS_BASE)
+
+ # don't use FORTIFY with sparse because glibc with FORTIFY can
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-20 2:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-20 2:17 [gentoo-commits] proj/genkernel:master commit in: patches/btrfs-progs/5.6.1/ Thomas Deutschmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox