]> code.ossystems Code Review - openembedded-core.git/commit
powertop: Fix build for !uclibc
authorMartin Jansa <martin.jansa@gmail.com>
Thu, 18 Dec 2014 14:54:14 +0000 (15:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 May 2015 14:45:56 +0000 (15:45 +0100)
commitfd6418949249be252e4831ecf88f84297f81eaeb
tree0e738986f7ae7ee308cc76891e0e849f19d2131b
parente64cee7ccf9dedbadc3a63e4ed3eb15172ef4403
powertop: Fix build for !uclibc

* EXTRA_LDFLAGS isn't defined for !uclibc and configure fails
  when it reads it unexpanded, see config.log snippet:

  configure:4177: checking whether the C compiler works
  configure:4199: i586-oe-linux-gcc  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86  -O2 -pipe -g -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed ${EXTRA_LDFLAGS} conftest.c  >&5
  i586-oe-linux-gcc: error: ${EXTRA_LDFLAGS}: No such file or directory
  configure:4203: $? = 1
  configure:4241: result: no

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Backported from OpenEmbedded Dizzy branch, commit
c8f9b5c9a8e5179c2013f25decd6a5483df9c716.
Signed-off-by: Jens Rottmann <Jens.Rottmann@ADLINKtech.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/powertop/powertop_2.5.bb