summaryrefslogtreecommitdiff
path: root/ports/sysdeps
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-06-12 16:48:33 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-06-19 15:36:53 -0400
commitca4023620a265f90a4022b98ac481fd1d053723a (patch)
tree636870e7a08f9cbe1cbe7b52d36bd5f7a9d84203 /ports/sysdeps
parent201b499c978b073655ab5e040605dad38afe485a (diff)
downloadglibc-ca4023620a265f90a4022b98ac481fd1d053723a.tar.gz
tile: default to little-endian in bits/endian.h
This turns out to be helpful when doing a from-scratch cross-compile of gcc and glibc, since you can then do "make install-headers" in glibc even before you have a functioning tile gcc. (cherry picked from commit ad36ba2bd67398edefe31aa039090912f76bffce)
Diffstat (limited to 'ports/sysdeps')
-rw-r--r--ports/sysdeps/tile/bits/endian.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/sysdeps/tile/bits/endian.h b/ports/sysdeps/tile/bits/endian.h
index 43d94bb7a7..835042a7ac 100644
--- a/ports/sysdeps/tile/bits/endian.h
+++ b/ports/sysdeps/tile/bits/endian.h
@@ -6,8 +6,6 @@
#if defined __BIG_ENDIAN__
# define __BYTE_ORDER __BIG_ENDIAN
-#elif defined __LITTLE_ENDIAN__
-# define __BYTE_ORDER __LITTLE_ENDIAN
#else
-# error "Endianness not declared!!"
+# define __BYTE_ORDER __LITTLE_ENDIAN
#endif