File: set-LDFLAGS-when-linking.patch

package info (click to toggle)
xplot-xplot.org 0.90.7.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,884 kB
  • sloc: ansic: 4,311; perl: 1,087; sh: 152; makefile: 112
file content (13 lines) | stat: -rw-r--r-- 402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: xplot-xplot.org/Makefile.in
===================================================================
--- xplot-xplot.org.orig/Makefile.in
+++ xplot-xplot.org/Makefile.in
@@ -62,7 +62,7 @@ MANFILES= xplot.1 tcpdump2xplot.1
 all:	${PROG}
 
 ${PROG}: ${OFILES}
-	${CC} ${CFLAGS} -o $@.new ${OFILES} ${LIBS}
+	${CC} ${CFLAGS} ${LDFLAGS} -o $@.new ${OFILES} ${LIBS}
 	-mv -f $@ $@.old
 	mv -f $@.new $@