]> git.pld-linux.org Git - packages/STLport.git/blob - STLport-endianness.patch
- added -j1 to make install, fixes build on ti-i686 and ti-x86_64
[packages/STLport.git] / STLport-endianness.patch
1 --- STLport/stlport/stl/config/features.h.orig  2005-10-09 17:21:35.000000000 +0200
2 +++ STLport/stlport/stl/config/features.h       2005-11-09 09:28:38.949726000 +0100
3 @@ -173,15 +173,15 @@
4  #endif
5  
6  #if !defined (_STLP_BIG_ENDIAN) && !defined (_STLP_LITTLE_ENDIAN)
7 -#  if defined (_MIPSEB) || defined (__sparc) || defined (_AIX) || \
8 +#  if defined (_MIPSEB) || defined (__sparc__) || defined (_AIX) || \
9        defined (__hpux) || defined (macintosh) || defined (_MAC)
10  #    define _STLP_BIG_ENDIAN 1
11  #  elif defined (__i386) || defined (_M_IX86) || defined (_M_ARM) || \
12          defined (__amd64__) || defined (_M_AMD64) || defined (__x86_64__) || \
13          defined (__alpha__)
14  #    define _STLP_LITTLE_ENDIAN 1
15 -#  elif defined (__ia64__)
16 -    /* itanium allows both settings (for instance via gcc -mbig-endian) - hence a seperate check is required */
17 +#  elif defined (__ia64__) || defined (__powerpc__)
18 +    /* itanium and powerpc allow both settings (for instance via gcc -mbig-endian) - hence a seperate check is required */
19  #    if defined (__BIG_ENDIAN__)
20  #      define _STLP_BIG_ENDIAN 1
21  #    else
This page took 0.071846 seconds and 3 git commands to generate.