blob: b246de8f5fdee3c7f87755e2a02856fbf5feda84 [file] [log] [blame]
Brad Bishopba6de432019-05-21 08:07:33 -04001Obey LDFLAGS
2
3Signed-off-by: Christopher Larson <chris_larson@mentor.com>
4Upstream-Status: Pending
5
6Index: irda-utils-0.9.18/findchip/Makefile
7===================================================================
8--- irda-utils-0.9.18.orig/findchip/Makefile
9+++ irda-utils-0.9.18/findchip/Makefile
10@@ -65,5 +65,5 @@ install: findchip
11
12 gfindchip: gfindchip.c
13 $(prn_cc)
14- $(ECMD))$(CC) $(CFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs`
15+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs`
16
17Index: irda-utils-0.9.18/irattach/Makefile
18===================================================================
19--- irda-utils-0.9.18.orig/irattach/Makefile
20+++ irda-utils-0.9.18/irattach/Makefile
21@@ -49,13 +49,13 @@ all: $(TARGETS)
22
23 irattach: irattach.o util.o
24 $(prn_cc_o)
25- $(ECMD)$(CC) $(CFLAGS) irattach.o util.o -o $@
26+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) irattach.o util.o -o $@
27
28
29
30 dongle_attach: dongle_attach.o
31 $(prn_cc_o)
32- $(ECMD)$(CC) $(CFLAGS) dongle_attach.o -o $@
33+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) dongle_attach.o -o $@
34
35
36 install: $(TARGETS)
37Index: irda-utils-0.9.18/irdadump/Makefile
38===================================================================
39--- irda-utils-0.9.18.orig/irdadump/Makefile
40+++ irda-utils-0.9.18/irdadump/Makefile
41@@ -40,7 +40,7 @@ lib_irdadump.a: $(LIBIRDADUMP_OBJS)
42
43 irdadump: $(IRDADUMP_OBJS) $(LIBIRDADUMP_TARGET)
44 $(prn_cc_o)
45- $(ECMD)$(CC) $(CFLAGS) `pkg-config --libs glib-2.0` -o $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET)
46+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) `pkg-config --libs glib-2.0` -o $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET)
47
48
49 .c.o:
50Index: irda-utils-0.9.18/irdaping/Makefile
51===================================================================
52--- irda-utils-0.9.18.orig/irdaping/Makefile
53+++ irda-utils-0.9.18/irdaping/Makefile
54@@ -56,7 +56,7 @@ all: $(TARGETS)
55
56 irdaping: $(OBJS)
57 $(prn_cc_o)
58- $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@
59+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
60
61
62 .c.o:
63Index: irda-utils-0.9.18/irnetd/Makefile
64===================================================================
65--- irda-utils-0.9.18.orig/irnetd/Makefile
66+++ irda-utils-0.9.18/irnetd/Makefile
67@@ -50,7 +50,7 @@ all: $(TARGETS)
68
69 irnetd: $(OBJS)
70 $(prn_cc_o)
71- $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@
72+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
73
74
75 install: irnetd
76Index: irda-utils-0.9.18/psion/Makefile
77===================================================================
78--- irda-utils-0.9.18.orig/psion/Makefile
79+++ irda-utils-0.9.18/psion/Makefile
80@@ -25,4 +25,4 @@ install: $(PSION_TARGETS)
81 CFLAGS += -g -I../include -Wall -Wstrict-prototypes $(RPM_OPT_FLAGS)
82 irpsion5:
83 $(prn_cc_o)
84- $(ECMD)$(CC) $(CFLAGS) $(PSION_SRC) -o $@
85\ No newline at end of file
86+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(PSION_SRC) -o $@
87\ No newline at end of file