From a360306f395aa771e5e4515062ab91f1dbb0374a Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Sat, 13 Mar 2021 16:27:51 +0100 Subject: Bump btrfs-progs to v5.11 Signed-off-by: Thomas Deutschmann --- patches/btrfs-progs/5.11/btrfs-honor-LDFLAGS.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/btrfs-progs/5.11/btrfs-honor-LDFLAGS.patch (limited to 'patches/btrfs-progs/5.11/btrfs-honor-LDFLAGS.patch') diff --git a/patches/btrfs-progs/5.11/btrfs-honor-LDFLAGS.patch b/patches/btrfs-progs/5.11/btrfs-honor-LDFLAGS.patch new file mode 100644 index 0000000..48e967d --- /dev/null +++ b/patches/btrfs-progs/5.11/btrfs-honor-LDFLAGS.patch @@ -0,0 +1,12 @@ +--- 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 + -- cgit v1.2.3-65-gdbad