summaryrefslogtreecommitdiff
path: root/packages/socat/socat-1.3.2.1/ldflags.patch
blob: 6ab46813831a2490a348af93b2c5bc9e5fbdf621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- socat-1.3/Makefile.in~ldflags
+++ socat-1.3/Makefile.in
@@ -33,6 +33,7 @@
 
 
 CFLAGS = @CFLAGS@ $(CCOPTS) $(DEFS) $(INCLS)
+LDFLAGS = @LDFLAGS@
 CLIBS = $(LIBS)
 #CLIBS = $(LIBS) -lm -lefence
 XIOSRCS = xioinitialize.c xiohelp.c xioparam.c xiodiag.c xioopen.c xioopts.c xiosigchld.c xioread.c xiowrite.c \
@@ -78,13 +79,13 @@
 	makedepend @SYSDEFS@ $(CFILES)
 
 socat: socat.o libxio.a
-	$(CC) $(CFLAGS) -o $@ socat.o libxio.a $(CLIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ socat.o libxio.a $(CLIBS)
 
 procan: procan_main.o procan.o error.o sycls.o sysutils.o utils.o
-	$(CC) $(CFLAGS) -o $@ procan_main.o procan.o error.o sycls.o sysutils.o utils.o $(CLIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ procan_main.o procan.o error.o sycls.o sysutils.o utils.o $(CLIBS)
 
 filan: filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o
-	$(CC) $(CFLAGS) -o $@ filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o $(CLIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o $(CLIBS)
 
 libxio.a: $(XIOOBJS) $(UTLOBJS)
 	$(AR) r $@ $(XIOOBJS) $(UTLOBJS)