mk: fix build 32-bits shared libraries with 64-bits system
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Wed, 22 Oct 2014 16:36:22 +0000 (17:36 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 11 Dec 2014 00:42:02 +0000 (01:42 +0100)
commitff41b5785a1a6ff195852eae14659f95723bd399
treeb2d1ea2ada68dca20998996f219bcd5c0bc1da54
parentd223059e682b10e0e766273a958f057a4482d9fe
mk: fix build 32-bits shared libraries with 64-bits system

Incompatible libraries error when building shared libraries for 32bits on
a 64bits system.
Fix issue by passing CPU_CFLAGS to CC when LINK_USING_CC is enabled.

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
mk/rte.lib.mk