Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gcc4/gcc don't use the __{BIG, LITTLE}_ENDIAN__ test...



details:   https://anonhg.NetBSD.org/src/rev/c97c5a792081
branches:  trunk
changeset: 754668:c97c5a792081
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat May 08 02:58:33 2010 +0000

description:
don't use the __{BIG,LITTLE}_ENDIAN__ test on NetBSD.  it doesn't give
the right result for some platforms, and the later valid tests are
never used.  (this problem seems fixed in newer autoconf...)

diffstat:

 gnu/dist/gcc4/gcc/configure |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r e2054367e08e -r c97c5a792081 gnu/dist/gcc4/gcc/configure
--- a/gnu/dist/gcc4/gcc/configure       Sat May 08 02:54:25 2010 +0000
+++ b/gnu/dist/gcc4/gcc/configure       Sat May 08 02:58:33 2010 +0000
@@ -9055,6 +9055,9 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+#ifdef __NetBSD__
+       always fail this on netbsd;
+#endif
 #if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__)
               neither is defined;
             #endif



Home | Main Index | Thread Index | Old Index