summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-26 04:46:55 +0000
committerSam James <sam@gentoo.org>2021-11-26 05:11:24 +0000
commit413d7d28cfa04ff1d59688563ffeb432b7e5d381 (patch)
treec4924be6293763bda3549b4bf5d6d9776edc97ab /media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
parentsci-libs/indilib: backport test skip to 1.9.2 (diff)
downloadgentoo-413d7d28cfa04ff1d59688563ffeb432b7e5d381.tar.gz
gentoo-413d7d28cfa04ff1d59688563ffeb432b7e5d381.tar.bz2
gentoo-413d7d28cfa04ff1d59688563ffeb432b7e5d381.zip
media-radio/direwolf: respect AR, CC, and LDFLAGS
Bug: https://bugs.gentoo.org/807664 Closes: https://bugs.gentoo.org/750911 Closes: https://bugs.gentoo.org/750914 Closes: https://bugs.gentoo.org/750935 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch')
-rw-r--r--media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
new file mode 100644
index 000000000000..38dddcc281fd
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+diff --git a/Makefile.linux b/Makefile.linux
+index 7418a63..3d433bd 100644
+--- a/Makefile.linux
++++ b/Makefile.linux
+@@ -447,7 +447,7 @@ atest : atest.c demod.o demod_afsk.o demod_psk.o demod_9600.o \
+ # Multiple AGWPE network or serial port clients to test TNCs side by side.
+
+ aclients : aclients.c ax25_pad.c fcs_calc.c textcolor.o misc.a
+- $(CC) $(CFLAGS) -g -o $@ $^
++ $(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)
+
+
+ # Talk to a KISS TNC.
+@@ -466,7 +466,7 @@ cm108 : cm108.c textcolor.o misc.a
+ # Touch Tone to Speech sample application.
+
+ ttcalc : ttcalc.o ax25_pad.o fcs_calc.o textcolor.o misc.a
+- $(CC) $(CFLAGS) -g -o $@ $^
++ $(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)
+
+
+ # ----------------------------------------- Libraries --------------------------------------------