[Cmake-commits] [cmake-commits] king committed cmELF.cxx 1.11 1.12
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue May 13 10:34:26 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv13444
Modified Files:
cmELF.cxx
Log Message:
BUG: When byte order is not known at compile time make sure NeedSwap in cmELF is still initialized.
Index: cmELF.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmELF.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -C 2 -d -r1.11 -r1.12
*** cmELF.cxx 13 May 2008 14:24:23 -0000 1.11
--- cmELF.cxx 13 May 2008 14:34:24 -0000 1.12
***************
*** 86,89 ****
--- 86,91 ----
#elif cmsys_CPU_ENDIAN_ID == cmsys_CPU_ENDIAN_ID_BIG
this->NeedSwap = (this->ByteOrder == ByteOrderLSB);
+ #else
+ this->NeedSwap = false; // Final decision is at runtime anyway.
#endif
More information about the Cmake-commits
mailing list