Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Obey LDFLAGS |
| 2 | |
| 3 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> |
| 4 | Upstream-Status: Pending |
| 5 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 6 | Index: irda-utils-0.9.18/findchip/Makefile |
| 7 | =================================================================== |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | --- irda-utils-0.9.18.orig/findchip/Makefile |
| 9 | +++ irda-utils-0.9.18/findchip/Makefile |
| 10 | @@ -65,5 +65,5 @@ install: findchip |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 11 | |
| 12 | gfindchip: gfindchip.c |
| 13 | $(prn_cc) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | - $(ECMD))$(CC) $(CFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs` |
| 15 | + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs` |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 16 | |
| 17 | Index: irda-utils-0.9.18/irattach/Makefile |
| 18 | =================================================================== |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | --- irda-utils-0.9.18.orig/irattach/Makefile |
| 20 | +++ irda-utils-0.9.18/irattach/Makefile |
| 21 | @@ -49,13 +49,13 @@ all: $(TARGETS) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 22 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 23 | irattach: irattach.o util.o |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 24 | $(prn_cc_o) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | - $(ECMD)$(CC) $(CFLAGS) irattach.o util.o -o $@ |
| 26 | + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) irattach.o util.o -o $@ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 27 | |
| 28 | |
| 29 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | dongle_attach: dongle_attach.o |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 31 | $(prn_cc_o) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 32 | - $(ECMD)$(CC) $(CFLAGS) dongle_attach.o -o $@ |
| 33 | + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) dongle_attach.o -o $@ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 34 | |
| 35 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 36 | install: $(TARGETS) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 37 | Index: irda-utils-0.9.18/irdadump/Makefile |
| 38 | =================================================================== |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 42 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 43 | irdadump: $(IRDADUMP_OBJS) $(LIBIRDADUMP_TARGET) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 44 | $(prn_cc_o) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 47 | |
| 48 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 49 | .c.o: |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 50 | Index: irda-utils-0.9.18/irdaping/Makefile |
| 51 | =================================================================== |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 52 | --- irda-utils-0.9.18.orig/irdaping/Makefile |
| 53 | +++ irda-utils-0.9.18/irdaping/Makefile |
| 54 | @@ -56,7 +56,7 @@ all: $(TARGETS) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 55 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 56 | irdaping: $(OBJS) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 57 | $(prn_cc_o) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 58 | - $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@ |
| 59 | + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 60 | |
| 61 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 62 | .c.o: |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 63 | Index: irda-utils-0.9.18/irnetd/Makefile |
| 64 | =================================================================== |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 65 | --- irda-utils-0.9.18.orig/irnetd/Makefile |
| 66 | +++ irda-utils-0.9.18/irnetd/Makefile |
| 67 | @@ -50,7 +50,7 @@ all: $(TARGETS) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 68 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 69 | irnetd: $(OBJS) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 70 | $(prn_cc_o) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 71 | - $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@ |
| 72 | + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 73 | |
| 74 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 75 | install: irnetd |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 76 | Index: irda-utils-0.9.18/psion/Makefile |
| 77 | =================================================================== |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 82 | irpsion5: |
| 83 | $(prn_cc_o) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 |