]> Zhao Yanbai Git Server - minix.git/commit
Fix build error on OSX 60/2860/2
authorThomas Veerman <tveerman@gmail.com>
Thu, 9 Oct 2014 20:14:41 +0000 (22:14 +0200)
committerLionel Sambuc <lionel@minix3.org>
Fri, 10 Oct 2014 10:56:50 +0000 (12:56 +0200)
commite1c7263ee46456bfbff7b592e37c652ea8d2ba2c
tree4b138d28185920559527d85fbaf699fef4f5ecbf
parentce3cb944876a631dad9763355cc9d2ce246487aa
Fix build error on OSX

When building Gold on OSX 10.9 and Clang 6.0, the build process fails
with the error:

In file included from /Users/thomas/minix/tools/binutils/../../external/gpl3/binutils/dist/gold/binary.cc:31:
In file included from /Users/thomas/minix/tools/binutils/../../external/gpl3/binutils/dist/gold/stringpool.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:51:72: error: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype'
inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isalnum(int __c) {return isalnum(__c);}

Signed-off-by: Thomas Veerman <tveerman@gmail.com>
Change-Id: Ib7ca13a51e83c31bb3020d755e04b308aeacde5d
external/gpl3/binutils/patches/0008-Fix-build-error-on-OSX.patch [new file with mode: 0644]