diff options
author | Matthew McClintock <msm@freescale.com> | 2012-08-24 13:16:37 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-25 14:44:00 +0100 |
commit | edcb57fe308979cc5b92359d064e32bb70d4ad76 (patch) | |
tree | 4420e732f6efe8d7a1c4017320696a65ab8e3016 /meta/classes | |
parent | a8b1081791af60873c6fd26cbf298cfe1886f97d (diff) | |
download | openembedded-core-edcb57fe308979cc5b92359d064e32bb70d4ad76.tar.gz openembedded-core-edcb57fe308979cc5b92359d064e32bb70d4ad76.tar.bz2 openembedded-core-edcb57fe308979cc5b92359d064e32bb70d4ad76.zip |
kmod-native_git.bb: fix builds for hosts with older libc
kmod will fail to build with the following error because O_CLOEXEC is
not defined:
| libkmod/libkmod-module.c: In function 'kmod_module_get_initstate':
| libkmod/libkmod-module.c:1640: error: 'O_CLOEXEC' undeclared (first use in this function)
| libkmod/libkmod-module.c:1640: error: (Each undeclared identifier is reported only once
| libkmod/libkmod-module.c:1640: error: for each function it appears in.)
| libkmod/libkmod-module.c: In function 'kmod_module_get_refcnt':
| libkmod/libkmod-module.c:1754: error: 'O_CLOEXEC' undeclared (first use in this function)
| libkmod/libkmod-module.c: In function 'kmod_module_get_sections':
| libkmod/libkmod-module.c:1913: error: 'O_CLOEXEC' undeclared (first use in this function)
| libkmod/libkmod-file.c: In function 'kmod_file_open':
| libkmod/libkmod-file.c:282: error: 'O_CLOEXEC' undeclared (first use in this function)
| libkmod/libkmod-file.c:282: error: (Each undeclared identifier is reported only once
| libkmod/libkmod-file.c:282: error: for each function it appears in.)
Since we are only using kmod-native for depmod, and it's a non-threaded
user of this libary being built this should be safe to override O_CLOEXEC.
Keep in mind this is ONLY effecting the native builds and not what is
being shipped in the root file system.
Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions