summaryrefslogtreecommitdiff
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-03-22 18:57:32 -0700
committerSaul Wold <sgw@linux.intel.com>2014-05-05 23:08:17 -0700
commit56dc32f128b3029c38381c7cc81f244fbd77416e (patch)
treef27f38288bb0a0734a9910e6a09bf7d5b0fbde29 /meta/recipes-core/systemd
parent4dfb8847ebf8aab90ad8888933468e2899c96998 (diff)
downloadopenembedded-core-56dc32f128b3029c38381c7cc81f244fbd77416e.tar.gz
openembedded-core-56dc32f128b3029c38381c7cc81f244fbd77416e.tar.bz2
openembedded-core-56dc32f128b3029c38381c7cc81f244fbd77416e.zip
systemd: Fix build with gcc 4.9
We need to use gcc-nm and gcc-ar to deal with slim objects which are generated when using -flto (From OE-Core rev: e6d84c9f4fef201217ada60711ecfb94bc5dc2e0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_211.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_211.bb b/meta/recipes-core/systemd/systemd_211.bb
index ec595bee08..63bccc7a72 100644
--- a/meta/recipes-core/systemd/systemd_211.bb
+++ b/meta/recipes-core/systemd/systemd_211.bb
@@ -88,6 +88,9 @@ EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname "
do_configure_prepend() {
export CPP="${HOST_PREFIX}cpp ${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}"
+ export NM="${HOST_PREFIX}gcc-nm"
+ export AR="${HOST_PREFIX}gcc-ar"
+ export RANLIB="${HOST_PREFIX}gcc-ranlib"
export KMOD="${base_bindir}/kmod"
if [ -d ${S}/units.pre_sed ] ; then
cp -r ${S}/units.pre_sed ${S}/units