]> code.ossystems Code Review - openembedded-core.git/commit
gcc-multilib-config: Expand ccargs variable
authorYuanjie Huang <yuanjie.huang@windriver.com>
Thu, 24 Sep 2015 06:17:16 +0000 (14:17 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Sep 2015 10:58:30 +0000 (11:58 +0100)
commit02eddf9a0b89b0cbe0c83d95cedb3431899197d0
treeb20d347254c8064cbbafcc73630164ad49281edc
parent472d94a2441e8ba51e52dd03212e2d6754ac5c7c
gcc-multilib-config: Expand ccargs variable

The ccargs obtained from get_tune_parameters may not be fully expanded,
so that the gcc_multilib_setup function can be confused, and generates
invalid MULTILIB_OPTIONS in GCC Makefile fragment, which will break the
multilib feature of target gcc.

To address problems above, this patch modifies gcc_multilib_setup
function to expand ccargs before use.

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-multilib-config.inc