[Groonga-commit] groonga/groonga [master] remove C only build flags from C++ build flags.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 1月 11日 (水) 12:10:24 JST


Kouhei Sutou	2012-01-11 12:10:24 +0900 (Wed, 11 Jan 2012)

  New Revision: 5ff6f454b2106725cae291b871edfd7e539c7578

  Log:
    remove C only build flags from C++ build flags.

  Modified files:
    configure.ac

  Modified: configure.ac (+3 -3)
===================================================================
--- configure.ac    2012-01-11 10:11:37 +0900 (e9f6713)
+++ configure.ac    2012-01-11 12:10:24 +0900 (af1f85e)
@@ -126,7 +126,7 @@ if test "$GCC" = "yes"; then
   CHECK_BUILD_FLAG([-Wno-unused-but-set-variable]) # FIXME: enable it.
   CHECK_BUILD_FLAG([-Wno-unused-parameter])
   CHECK_BUILD_FLAG([-Wno-sign-compare])
-  CHECK_BUILD_FLAG([-Wno-pointer-sign])
+  CHECK_CFLAG([-Wno-pointer-sign])
   CHECK_BUILD_FLAG([-Wno-missing-field-initializers])
 
   CHECK_BUILD_FLAG([-Wformat=2])
@@ -134,8 +134,8 @@ if test "$GCC" = "yes"; then
   CHECK_BUILD_FLAG([-Wdisabled-optimization])
   CHECK_BUILD_FLAG([-Wfloat-equal])
   CHECK_BUILD_FLAG([-Wpointer-arith])
-  CHECK_BUILD_FLAG([-Wdeclaration-after-statement])
-  CHECK_BUILD_FLAG([-Wbad-function-cast])
+  CHECK_CFLAG([-Wdeclaration-after-statement])
+  CHECK_CFLAG([-Wbad-function-cast])
   CHECK_BUILD_FLAG([-Wcast-align])
   CHECK_BUILD_FLAG([-Wredundant-decls])
 #  CHECK_BUILD_FLAG([-Wunsafe-loop-optimizations])




Groonga-commit メーリングリストの案内
Back to archive index