[Groonga-mysql-commit] mroonga/mroonga at 9be3cc4 [master] cmake: disable build on big endian

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jan 30 15:10:07 JST 2015


Kouhei Sutou	2015-01-30 15:10:07 +0900 (Fri, 30 Jan 2015)

  New Revision: 9be3cc4f90041c34858f24a18607ab28991a49c3
  https://github.com/mroonga/mroonga/commit/9be3cc4f90041c34858f24a18607ab28991a49c3

  Message:
    cmake: disable build on big endian

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+7 -0)
===================================================================
--- CMakeLists.txt    2015-01-29 16:42:24 +0900 (faac165)
+++ CMakeLists.txt    2015-01-30 15:10:07 +0900 (f9d0d44)
@@ -20,6 +20,13 @@
 cmake_minimum_required(VERSION 2.6)
 project(mroonga)
 
+include(TestBigEndian)
+test_big_endian(BIG_ENDIAN)
+if(BIG_ENDIAN)
+  message(STATUS "Mroonga is not supported on big-endian")
+  return()
+endif()
+
 if(MSVC)
   if(MSVC_VERSION LESS 1600)
     message(STATUS "Mroonga supports only MSVC 2010 or later")
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-mysql-commit mailing list
Back to archive index