summaryrefslogtreecommitdiff
path: root/recipes/socat/files/ldflags.patch
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-04-07 10:31:59 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-04-07 10:41:48 +0200
commit8658973a5624fc5af7d4a35b50adccad7d3bb0cc (patch)
tree044155eece997cb49b41d458b5209b6dc882e679 /recipes/socat/files/ldflags.patch
parent6c5e86faf07d37d5e85c4249e3bb52555e9d839b (diff)
socat: catch up SRC_URI
Diffstat (limited to 'recipes/socat/files/ldflags.patch')
-rw-r--r--recipes/socat/files/ldflags.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/socat/files/ldflags.patch b/recipes/socat/files/ldflags.patch
new file mode 100644
index 0000000000..6ab4681383
--- /dev/null
+++ b/recipes/socat/files/ldflags.patch
@@ -0,0 +1,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)