summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-networking/recipes-support/ntimed/ntimed/use-ldflags.patch
blob: 87a7778d987ebba4eb0000c676cf3e8df2702bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Obey LDFLAGS.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Upstream-Status: Pending

--- Ntimed.orig/configure	2015-05-30 11:57:59.927796993 -0700
+++ Ntimed/configure	2015-05-30 11:58:26.143948894 -0700
@@ -142,7 +142,7 @@
 
 	echo
 	echo "ntimed-client:	${l}"
-	echo "	\${CC} \${CFLAGS} -o ntimed-client ${l} -lm"
+	echo "	\${CC} \${CFLAGS} -o ntimed-client ${l} \${LDFLAGS} -lm"
 	echo
 	echo "clean:"
 	echo "	rm -f ${l} ntimed-client"
OpenPOWER on IntegriCloud