Avoid conflict with host definitions when cross-compiling
authorPavel Fedin <p.fedin@samsung.com>
Fri, 14 Aug 2015 10:52:13 +0000 (13:52 +0300)
committerMichal Marek <mmarek@suse.com>
Thu, 20 Aug 2015 12:55:54 +0000 (14:55 +0200)
commit3c0561e0043fe870426b445890ab93204332ae39
treee30d4559abb8ba1876ea81ce39e794128d5a2f8e
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
Avoid conflict with host definitions when cross-compiling

Certain platforms (e. g. BSD-based ones) define some ELF constants
according to host. This patch fixes problems with cross-building
Linux kernel on these platforms (e. g. building ARM 32-bit version
on x86-64 host).

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/mod/modpost.h