Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Backport |
| 2 | |
| 3 | Index: tcp_wrappers_7.6.orig/Makefile |
| 4 | =================================================================== |
| 5 | --- tcp_wrappers_7.6.orig.orig/Makefile 2009-04-06 10:55:47.000000000 +0000 |
| 6 | +++ tcp_wrappers_7.6.orig/Makefile 2009-04-06 10:57:04.000000000 +0000 |
| 7 | @@ -748,31 +748,31 @@ |
| 8 | |
| 9 | $(SHLIB): $(SHLIB_OBJ) |
| 10 | rm -f $(SHLIB) |
| 11 | - $(CC) -o $(SHLIB) $(SHLINKFLAGS) $(SHLIB_OBJ) |
| 12 | + $(CC) $(LDFLAGS) -o $(SHLIB) $(SHLINKFLAGS) $(SHLIB_OBJ) |
| 13 | ln -sf $(notdir $(SHLIB)) $(SHLIBSOMAJ) |
| 14 | ln -sf $(notdir $(SHLIBSOMAJ)) $(SHLIBSO) |
| 15 | |
| 16 | tcpd: tcpd.o $(SHLIB) |
| 17 | - $(CC) $(CFLAGS) -o $@ tcpd.o $(SHLIBFLAGS) |
| 18 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ tcpd.o $(SHLIBFLAGS) |
| 19 | |
| 20 | miscd: miscd.o $(LIB) |
| 21 | - $(CC) $(CFLAGS) -o $@ miscd.o $(LIB) $(LIBS) |
| 22 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ miscd.o $(LIB) $(LIBS) |
| 23 | |
| 24 | safe_finger: safe_finger.o $(SHLIB) |
| 25 | - $(CC) $(CFLAGS) -o $@ safe_finger.o $(SHLIBFLAGS) |
| 26 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ safe_finger.o $(SHLIBFLAGS) |
| 27 | |
| 28 | TCPDMATCH_OBJ = tcpdmatch.o fakelog.o inetcf.o scaffold.o |
| 29 | |
| 30 | tcpdmatch: $(TCPDMATCH_OBJ) $(SHLIB) |
| 31 | - $(CC) $(CFLAGS) -o $@ $(TCPDMATCH_OBJ) $(SHLIBFLAGS) |
| 32 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(TCPDMATCH_OBJ) $(SHLIBFLAGS) |
| 33 | |
| 34 | try-from: try-from.o fakelog.o $(SHLIB) |
| 35 | - $(CC) $(CFLAGS) -o $@ try-from.o fakelog.o $(SHLIBFLAGS) |
| 36 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ try-from.o fakelog.o $(SHLIBFLAGS) |
| 37 | |
| 38 | TCPDCHK_OBJ = tcpdchk.o fakelog.o inetcf.o scaffold.o |
| 39 | |
| 40 | tcpdchk: $(TCPDCHK_OBJ) $(SHLIB) |
| 41 | - $(CC) $(CFLAGS) -o $@ $(TCPDCHK_OBJ) $(SHLIBFLAGS) |
| 42 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(TCPDCHK_OBJ) $(SHLIBFLAGS) |
| 43 | |
| 44 | shar: $(KIT) |
| 45 | @shar $(KIT) |