summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-02-21 02:59:39 +0100
committerMike Gilbert <floppym@gentoo.org>2019-05-17 15:33:28 -0400
commit824c1e88cd71e21c0bb5c110e6ae035dabed6459 (patch)
tree0393061464349faf8a74dcc657ff48f66da2992f /net-wireless/crda/files
parentmedia-video/smplayer: Move dev-qt/linguist-tools to BDEPEND. (diff)
downloadgentoo-824c1e88cd71e21c0bb5c110e6ae035dabed6459.tar.gz
gentoo-824c1e88cd71e21c0bb5c110e6ae035dabed6459.tar.bz2
gentoo-824c1e88cd71e21c0bb5c110e6ae035dabed6459.zip
net-wireless/crda: Respect LDFLAGS.
Fixes: https://bugs.gentoo.org/678450 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-wireless/crda/files')
-rw-r--r--net-wireless/crda/files/crda-3.18-ldflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-wireless/crda/files/crda-3.18-ldflags.patch b/net-wireless/crda/files/crda-3.18-ldflags.patch
new file mode 100644
index 000000000000..5ba9165c7adc
--- /dev/null
+++ b/net-wireless/crda/files/crda-3.18-ldflags.patch
@@ -0,0 +1,11 @@
+--- /Makefile
++++ /Makefile
+@@ -115,7 +115,7 @@
+
+ $(LIBREG): regdb.h reglib.h reglib.c
+ $(NQ) ' CC ' $@
+- $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(filter-out -lreg,$(LDLIBS))
++ $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(filter-out -lreg,$(LDLIBS))
+
+ install-libreg-headers:
+ $(NQ) ' INSTALL libreg-headers'