aboutsummaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-21 20:28:21 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-21 20:28:21 +0000
commit5e0b2bf657dd8b6b3bb58439e6cb293f3116687f (patch)
tree8d692616f4fb03bd88385566947ffbd9da0ef6c6 /cmake/config-ix.cmake
parentd451f888b85d01caa586b0d45bacb41836fd2c31 (diff)
Support: Add Endian.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rwxr-xr-xcmake/config-ix.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 16c17e20ec..3355c0d506 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -3,6 +3,7 @@ include(CheckLibraryExists)
include(CheckSymbolExists)
include(CheckFunctionExists)
include(CheckCXXSourceCompiles)
+include(TestBigEndian)
if( UNIX AND NOT BEOS )
# Used by check_symbol_exists:
@@ -257,6 +258,8 @@ if( LLVM_ENABLE_THREADS )
endif()
endif()
+test_big_endian(LLVM_IS_TARGET_BIG_ENDIAN)
+
if( ENABLE_THREADS )
message(STATUS "Threads enabled.")
else( ENABLE_THREADS )