summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch')
-rw-r--r--meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch75
1 files changed, 75 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch b/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch
new file mode 100644
index 0000000..2cdd1ac
--- /dev/null
+++ b/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch
@@ -0,0 +1,75 @@
1Obey LDFLAGS
2
3Signed-off-by: Christopher Larson <chris_larson@mentor.com>
4Upstream-status: Pending
5
6--- irda-utils-0.9.18.orig/findchip/Makefile
7+++ irda-utils-0.9.18/findchip/Makefile
8@@ -65,5 +65,5 @@ install: findchip
9
10 gfindchip: gfindchip.c
11 $(prn_cc)
12- $(ECMD))$(CC) $(CFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs`
13+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs`
14
15--- irda-utils-0.9.18.orig/irattach/Makefile
16+++ irda-utils-0.9.18/irattach/Makefile
17@@ -49,13 +49,13 @@ all: $(TARGETS)
18
19 irattach: irattach.o util.o
20 $(prn_cc_o)
21- $(ECMD)$(CC) $(CFLAGS) irattach.o util.o -o $@
22+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) irattach.o util.o -o $@
23
24
25
26 dongle_attach: dongle_attach.o
27 $(prn_cc_o)
28- $(ECMD)$(CC) $(CFLAGS) dongle_attach.o -o $@
29+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) dongle_attach.o -o $@
30
31
32 install: $(TARGETS)
33--- irda-utils-0.9.18.orig/irdadump/Makefile
34+++ irda-utils-0.9.18/irdadump/Makefile
35@@ -40,7 +40,7 @@ lib_irdadump.a: $(LIBIRDADUMP_OBJS)
36
37 irdadump: $(IRDADUMP_OBJS) $(LIBIRDADUMP_TARGET)
38 $(prn_cc_o)
39- $(ECMD)$(CC) $(CFLAGS) `pkg-config --libs glib-2.0` -o $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET)
40+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) `pkg-config --libs glib-2.0` -o $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET)
41
42
43 .c.o:
44--- irda-utils-0.9.18.orig/irdaping/Makefile
45+++ irda-utils-0.9.18/irdaping/Makefile
46@@ -56,7 +56,7 @@ all: $(TARGETS)
47
48 irdaping: $(OBJS)
49 $(prn_cc_o)
50- $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@
51+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
52
53
54 .c.o:
55--- irda-utils-0.9.18.orig/irnetd/Makefile
56+++ irda-utils-0.9.18/irnetd/Makefile
57@@ -50,7 +50,7 @@ all: $(TARGETS)
58
59 irnetd: $(OBJS)
60 $(prn_cc_o)
61- $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@
62+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
63
64
65 install: irnetd
66--- irda-utils-0.9.18.orig/psion/Makefile
67+++ irda-utils-0.9.18/psion/Makefile
68@@ -25,4 +25,4 @@ install: $(PSION_TARGETS)
69 CFLAGS += -g -I../include -Wall -Wstrict-prototypes $(RPM_OPT_FLAGS)
70 irpsion5:
71 $(prn_cc_o)
72- $(ECMD)$(CC) $(CFLAGS) $(PSION_SRC) -o $@
73\ No newline at end of file
74+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(PSION_SRC) -o $@
75\ No newline at end of file