diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-21 10:20:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-21 10:20:03 +0100 |
commit | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (patch) | |
tree | 3509e94070265053394b7f2e30a779d7e60c2064 /sys-fs/btrfs-progs/files | |
parent | eccb70a7f91b2d22582587f26d1a28bb31408b45 (diff) |
gentoo resync : 21.05.2019
Diffstat (limited to 'sys-fs/btrfs-progs/files')
-rw-r--r-- | sys-fs/btrfs-progs/files/btrfs-progs-5.1-LDFLAGS.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-fs/btrfs-progs/files/btrfs-progs-5.1-LDFLAGS.patch b/sys-fs/btrfs-progs/files/btrfs-progs-5.1-LDFLAGS.patch new file mode 100644 index 000000000000..fa1fe7a5ede3 --- /dev/null +++ b/sys-fs/btrfs-progs/files/btrfs-progs-5.1-LDFLAGS.patch @@ -0,0 +1,37 @@ +https://github.com/kdave/btrfs-progs/pull/172 +https://bugs.gentoo.org/686284 + +From 7cdb5de31e954416e740886d46809e4883c31ddc Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyfox@gentoo.org> +Date: Sun, 19 May 2019 08:51:28 +0100 +Subject: [PATCH] Makefile: apply LDFLAGS to libbtrfsutil.so +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +libbtrfs.so already has user's LDFLAGS applied. +The change also applies those to libbtrfsutil.so. + +Reported-by: Michał Górny +Bug: https://bugs.gentoo.org/686284 +Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index e25e256f..4c67d187 100644 +--- a/Makefile ++++ b/Makefile +@@ -424,7 +424,7 @@ libbtrfsutil/%.o: libbtrfsutil/%.c + + libbtrfsutil.so.$(libbtrfsutil_version): $(libbtrfsutil_objects) + @echo " [LD] $@" +- $(Q)$(CC) $(LIBBTRFSUTIL_CFLAGS) $(libbtrfsutil_objects) \ ++ $(Q)$(CC) $(LIBBTRFSUTIL_CFLAGS) $(libbtrfsutil_objects) $(LDFLAGS) \ + -shared -Wl,-soname,libbtrfsutil.so.$(libbtrfsutil_major) -o $@ + + libbtrfsutil.a: $(libbtrfsutil_objects) +-- +2.21.0 + |