[Groonga-commit] groonga/groonga at 79a59c0 [master] cmake: disable disabled-optimization warning

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Nov 21 01:01:01 JST 2017


Kouhei Sutou	2017-11-21 01:01:01 +0900 (Tue, 21 Nov 2017)

  New Revision: 79a59c06b65dea67883ed64c077157bf64bb7091
  https://github.com/groonga/groonga/commit/79a59c06b65dea67883ed64c077157bf64bb7091

  Message:
    cmake: disable disabled-optimization warning
    
    It's needless for CMake build. We only need it for GNU Autotools build.

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+1 -1)
===================================================================
--- CMakeLists.txt    2017-11-21 00:44:40 +0900 (ccb83c0ea)
+++ CMakeLists.txt    2017-11-21 01:01:01 +0900 (c184f07f7)
@@ -181,7 +181,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX)
   check_build_flag("-Wno-format-truncation")
   check_build_flag("-Wstrict-aliasing=2")
   check_build_flag("-fno-strict-aliasing")
-  check_build_flag("-Wdisabled-optimization")
+  check_build_flag("-Wno-disabled-optimization")
   check_build_flag("-Wfloat-equal")
   check_build_flag("-Wpointer-arith")
   check_cflag("-Wbad-function-cast")
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171121/b82ef4ec/attachment.htm 



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