summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmELF.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx
index cdba467..083470c 100644
--- a/Source/cmELF.cxx
+++ b/Source/cmELF.cxx
@@ -85,6 +85,8 @@ public:
this->NeedSwap = (this->ByteOrder == ByteOrderMSB);
#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
// We have not yet loaded the section info.