summaryrefslogtreecommitdiff
path: root/Modules/CMakeOBJCXXCompilerABI.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeOBJCXXCompilerABI.mm')
-rw-r--r--Modules/CMakeOBJCXXCompilerABI.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeOBJCXXCompilerABI.mm b/Modules/CMakeOBJCXXCompilerABI.mm
index 288a58c8d..7b9fefccf 100644
--- a/Modules/CMakeOBJCXXCompilerABI.mm
+++ b/Modules/CMakeOBJCXXCompilerABI.mm
@@ -12,6 +12,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