]> code.ossystems Code Review - openembedded-core.git/commit
sudo: set CFLAGS for build mksigname and mksiglist
authorKang Kai <kai.kang@windriver.com>
Tue, 21 May 2013 09:11:58 +0000 (17:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 May 2013 13:07:02 +0000 (14:07 +0100)
commit6022e81570b80232f272a1aa474e8ced3a089382
treee8bfbbddc0aa3ae6629d9500928bad4871d48f6f
parentb976a332cf24aad18141eafbbe5cd22cfbb91752
sudo: set CFLAGS for build mksigname and mksiglist

mksigname and mksiglist are compiled by BUILD_CC for build host. When
there are some options in CFLAGS that BUILD_CC doesn't support,
compilation fails.

Build for arm on a x86 host, if option "-mapcs-frame" is provided, error
occurs with:

| cc1: error: unrecognized command line option "-mapcs-frame"

Pass BUILD_CFLAGS to CFLAGS to fix that kind of failure.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/sudo/sudo.inc