]> code.ossystems Code Review - openembedded-core.git/commit
mklibs-native 0.1.33: include unistd.h to fix build for gcc 4.7
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 12 Apr 2012 14:49:02 +0000 (07:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2012 11:05:46 +0000 (12:05 +0100)
commit5e3c12313edc4b51ddd432ecbbd3b1f5295b3c14
tree7d9341f078f91eece672dfbb05801160df034805
parent08fb526c42e85c89135960344745e878c5fb633a
mklibs-native 0.1.33: include unistd.h to fix build for gcc 4.7

Many of the standard C++ library include files have been edited to no
longer include <unistd.h> to remove namespace pollution in gcc 4.7, so
we need include <unistd.h> manually sometimes.

More information:
http://gcc.gnu.org/gcc-4.7/porting_to.html

[YOCTO #2278]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
[Updated patch header - sgw]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/mklibs/files/include-unistd.h-for-gcc47.patch [new file with mode: 0644]
meta/recipes-devtools/mklibs/mklibs-native_0.1.33.bb