diff options
author | 2020-06-20 03:11:42 +0200 | |
---|---|---|
committer | 2020-06-20 03:11:42 +0200 | |
commit | cac127282baa5e8d13339ecedcb76c2c23f93be2 (patch) | |
tree | cf029e14d11d1bb4657107953e2207e6e85d8fb1 | |
parent | gkbuild.sh: _initialize(): Don't use temporary directory for packages (diff) | |
download | genkernel-cac127282baa5e8d13339ecedcb76c2c23f93be2.tar.gz genkernel-cac127282baa5e8d13339ecedcb76c2c23f93be2.tar.bz2 genkernel-cac127282baa5e8d13339ecedcb76c2c23f93be2.zip |
btrfs-progs: Honor LDFLAGS
Bug: https://bugs.gentoo.org/727168
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r-- | patches/btrfs-progs/5.6.1/btrfs-honor-LDFLAGS.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 |