From 27e3eff536a83312ad24052570d5056f8bfe8544 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 14 Dec 2009 11:19:24 -0800 Subject: iproute2: Use $CC in configure tests. * Switch to INC_PR * honor LDFLAGS env var. * Use CC env var in configure tests currently it uses native gcc which is wrong in cross compilation context. * Fix PR 5147 Signed-off-by: Erik Boto Signed-off-by: Khem Raj --- recipes/iproute2/iproute2_2.6.29.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes/iproute2/iproute2_2.6.29.bb') diff --git a/recipes/iproute2/iproute2_2.6.29.bb b/recipes/iproute2/iproute2_2.6.29.bb index d02573a359..d38dde880f 100644 --- a/recipes/iproute2/iproute2_2.6.29.bb +++ b/recipes/iproute2/iproute2_2.6.29.bb @@ -1,10 +1,11 @@ require iproute2.inc -PR = "r1" +PR = "${INC_PR}.0" SRC_URI = "http://developer.osdl.org/dev/iproute2/download/${P}.tar.bz2 \ file://new-flex-fix.patch;patch=1 \ file://compilation-fix.patch;patch=1 \ + file://use-cross-compiler.patch;patch=1 \ " S = "${WORKDIR}/iproute2-${PV}" -- cgit 1.2.3-korg