]> code.ossystems Code Review - openembedded-core.git/commit
mdadm: Make custom CC definition conditional
authorNitin A Kamble <nitin.a.kamble@intel.com>
Thu, 1 Dec 2011 22:54:02 +0000 (14:54 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Dec 2011 21:50:08 +0000 (21:50 +0000)
commitc877ec8ff1dfbf0123f94711f44cea043815a9c1
tree1bdcf28f1cea3080b0d219c110767decb73cf341
parent81cbedaaddd589e03fe2f6cb789907b1e555a9d6
mdadm: Make custom CC definition conditional

By hardcoding CC's definition in the Makefile, all the gcc parameters
set by tune settings are lost. Causing compile failure with x32 toolchain

As the bitbake defined CC is good, there is no need to redfine CC in the
make file, hence making the CC definition in the Makefile conditional.

This fixes bug: [YOCTO #1414]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
meta/recipes-extended/mdadm/files/mdadm-3.2.2_fix_for_x32.patch [new file with mode: 0644]
meta/recipes-extended/mdadm/mdadm_3.2.2.bb