gcc-cross_4.5.bb: Add libelf-native to DEPENDS
authorKhem Raj <raj.khem@gmail.com>
Wed, 9 Jun 2010 05:40:31 +0000 (22:40 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 9 Jun 2010 05:40:31 +0000 (22:40 -0700)
* libelf is needed for LTO

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/gcc/gcc-cross_4.5.bb

index 825a7bd..a2da4a8 100644 (file)
@@ -1,9 +1,8 @@
-PR = "r0"
+PR = "r1"
 require gcc-${PV}.inc
 require gcc-cross4.inc
 
-DEPENDS += "libmpc-native"
-
+NATIVEDEPS += "libmpc-native libelf-native"
 SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch "
 
 EXTRA_OECONF += " --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} --with-system-zlib"