xref: /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch (revision eb8dc40360f0cfef56fb6947cc817a547d6d9bc6)
1Obey LDFLAGS.
2
3Signed-off-by: Christopher Larson <kergoth@gmail.com>
4Upstream-Status: Pending
5
6--- Ntimed.orig/configure	2015-05-30 11:57:59.927796993 -0700
7+++ Ntimed/configure	2015-05-30 11:58:26.143948894 -0700
8@@ -142,7 +142,7 @@
9
10 	echo
11 	echo "ntimed-client:	${l}"
12-	echo "	\${CC} \${CFLAGS} -o ntimed-client ${l} -lm"
13+	echo "	\${CC} \${CFLAGS} -o ntimed-client ${l} \${LDFLAGS} -lm"
14 	echo
15 	echo "clean:"
16 	echo "	rm -f ${l} ntimed-client"
17