blob: b246de8f5fdee3c7f87755e2a02856fbf5feda84 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Obey LDFLAGS
2
3Signed-off-by: Christopher Larson <chris_larson@mentor.com>
4Upstream-Status: Pending
5
Brad Bishop316dfdd2018-06-25 12:45:53 -04006Index: irda-utils-0.9.18/findchip/Makefile
7===================================================================
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008--- irda-utils-0.9.18.orig/findchip/Makefile
9+++ irda-utils-0.9.18/findchip/Makefile
10@@ -65,5 +65,5 @@ install: findchip
Brad Bishop316dfdd2018-06-25 12:45:53 -040011
12 gfindchip: gfindchip.c
13 $(prn_cc)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014- $(ECMD))$(CC) $(CFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs`
15+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs`
Brad Bishop316dfdd2018-06-25 12:45:53 -040016
17Index: irda-utils-0.9.18/irattach/Makefile
18===================================================================
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019--- irda-utils-0.9.18.orig/irattach/Makefile
20+++ irda-utils-0.9.18/irattach/Makefile
21@@ -49,13 +49,13 @@ all: $(TARGETS)
Brad Bishop316dfdd2018-06-25 12:45:53 -040022
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023 irattach: irattach.o util.o
Brad Bishop316dfdd2018-06-25 12:45:53 -040024 $(prn_cc_o)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025- $(ECMD)$(CC) $(CFLAGS) irattach.o util.o -o $@
26+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) irattach.o util.o -o $@
Brad Bishop316dfdd2018-06-25 12:45:53 -040027
28
29
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030 dongle_attach: dongle_attach.o
Brad Bishop316dfdd2018-06-25 12:45:53 -040031 $(prn_cc_o)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032- $(ECMD)$(CC) $(CFLAGS) dongle_attach.o -o $@
33+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) dongle_attach.o -o $@
Brad Bishop316dfdd2018-06-25 12:45:53 -040034
35
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036 install: $(TARGETS)
Brad Bishop316dfdd2018-06-25 12:45:53 -040037Index: irda-utils-0.9.18/irdadump/Makefile
38===================================================================
Patrick Williamsc124f4f2015-09-15 14:41:29 -050039--- 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)
Brad Bishop316dfdd2018-06-25 12:45:53 -040042
Patrick Williamsc124f4f2015-09-15 14:41:29 -050043 irdadump: $(IRDADUMP_OBJS) $(LIBIRDADUMP_TARGET)
Brad Bishop316dfdd2018-06-25 12:45:53 -040044 $(prn_cc_o)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050045- $(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)
Brad Bishop316dfdd2018-06-25 12:45:53 -040047
48
Patrick Williamsc124f4f2015-09-15 14:41:29 -050049 .c.o:
Brad Bishop316dfdd2018-06-25 12:45:53 -040050Index: irda-utils-0.9.18/irdaping/Makefile
51===================================================================
Patrick Williamsc124f4f2015-09-15 14:41:29 -050052--- irda-utils-0.9.18.orig/irdaping/Makefile
53+++ irda-utils-0.9.18/irdaping/Makefile
54@@ -56,7 +56,7 @@ all: $(TARGETS)
Brad Bishop316dfdd2018-06-25 12:45:53 -040055
Patrick Williamsc124f4f2015-09-15 14:41:29 -050056 irdaping: $(OBJS)
Brad Bishop316dfdd2018-06-25 12:45:53 -040057 $(prn_cc_o)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050058- $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@
59+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
Brad Bishop316dfdd2018-06-25 12:45:53 -040060
61
Patrick Williamsc124f4f2015-09-15 14:41:29 -050062 .c.o:
Brad Bishop316dfdd2018-06-25 12:45:53 -040063Index: irda-utils-0.9.18/irnetd/Makefile
64===================================================================
Patrick Williamsc124f4f2015-09-15 14:41:29 -050065--- irda-utils-0.9.18.orig/irnetd/Makefile
66+++ irda-utils-0.9.18/irnetd/Makefile
67@@ -50,7 +50,7 @@ all: $(TARGETS)
Brad Bishop316dfdd2018-06-25 12:45:53 -040068
Patrick Williamsc124f4f2015-09-15 14:41:29 -050069 irnetd: $(OBJS)
Brad Bishop316dfdd2018-06-25 12:45:53 -040070 $(prn_cc_o)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050071- $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@
72+ $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
Brad Bishop316dfdd2018-06-25 12:45:53 -040073
74
Patrick Williamsc124f4f2015-09-15 14:41:29 -050075 install: irnetd
Brad Bishop316dfdd2018-06-25 12:45:53 -040076Index: irda-utils-0.9.18/psion/Makefile
77===================================================================
Patrick Williamsc124f4f2015-09-15 14:41:29 -050078--- 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)
Brad Bishop316dfdd2018-06-25 12:45:53 -040082 irpsion5:
83 $(prn_cc_o)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050084- $(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