summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCXXCompilerABI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeCXXCompilerABI.cpp')
-rw-r--r--Modules/CMakeCXXCompilerABI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeCXXCompilerABI.cpp b/Modules/CMakeCXXCompilerABI.cpp
index 2360534..036b96e 100644
--- a/Modules/CMakeCXXCompilerABI.cpp
+++ b/Modules/CMakeCXXCompilerABI.cpp
@@ -8,6 +8,8 @@ int main(int argc, char* argv[])
{
int require = 0;
require += info_sizeof_dptr[argc];
+ require += info_byte_order_big_endian[argc];
+ require += info_byte_order_little_endian[argc];
#if defined(ABI_ID)
require += info_abi[argc];
#endif