mk: pass CC option for kernel modules
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Thu, 9 Oct 2014 10:08:33 +0000 (11:08 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 15 Oct 2014 14:01:29 +0000 (16:01 +0200)
commitdf2cb420b996fb688adb57c9575efbf45d75f465
tree1a798b0a40fdb129b4442d44b8618ba266bb9e2b
parent02dd5e841dcb109be47c6d2dd838867a6f68a81d
mk: pass CC option for kernel modules

At least on kernels 3.15 or newer, wrong compiler flags are set when building
kernel modules.

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
mk/rte.module.mk
mk/toolchain/clang/rte.vars.mk
mk/toolchain/gcc/rte.vars.mk
mk/toolchain/icc/rte.vars.mk