summaryrefslogtreecommitdiff
path: root/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
blob: 38dddcc281fd29c138fd7388010c72b02a317d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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  --------------------------------------------