* added standard define __STDC_ISO_10646__ to all compiler configurations,

indicating that haiku uses ISO_10646 in wchar_t (in our case: UTF-32)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37775 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2010-07-27 19:20:25 +00:00
parent 2b4fc44ef0
commit 735af2d623
6 changed files with 10 additions and 3 deletions

View File

@@ -63,6 +63,7 @@
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
/*builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); done in bpabi: */\
builtin_define ("__STDC_ISO_10646__"); \
TARGET_BPABI_CPP_BUILTINS(); \
} \
while (0)
@@ -75,5 +76,5 @@
#undef LINK_SPEC
#define LINK_SPEC "%{!o*:-o %b} -m armelf -shared -no-undefined -Bsymbolic %{nostart:-e 0} \
%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"
%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"

View File

@@ -46,6 +46,7 @@ Boston, MA 02111-1307, USA. */
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)

View File

@@ -27,9 +27,9 @@ Boston, MA 02111-1307, USA. */
#endif
/* The SVR4 ABI for the i386 says that records and unions are returned
* in memory.
* in memory.
*
* TODO: Linux64 doesn't use pcc_struct_return scheme. Does haiku?
* TODO: Linux64 doesn't use pcc_struct_return scheme. Does haiku?
* If not this could be removed.
*/
#undef DEFAULT_PCC_STRUCT_RETURN
@@ -54,6 +54,7 @@ Boston, MA 02111-1307, USA. */
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)
#else
@@ -72,6 +73,7 @@ Boston, MA 02111-1307, USA. */
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)
#endif

View File

@@ -44,6 +44,7 @@ Boston, MA 02111-1307, USA. */
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)

View File

@@ -50,6 +50,7 @@ Boston, MA 02111-1307, USA. */
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)