null+****@clear*****
null+****@clear*****
Fri Aug 10 17:43:19 JST 2012
Kouhei Sutou 2012-08-10 17:43:19 +0900 (Fri, 10 Aug 2012) New Revision: 1e26bd404bce5d02231768bebb4fbe43687e77be https://github.com/groonga/groonga/commit/1e26bd404bce5d02231768bebb4fbe43687e77be Log: clang: use -g for debug option Modified files: configure.ac Modified: configure.ac (+4 -1) =================================================================== --- configure.ac 2012-08-10 17:33:16 +0900 (5899b5d) +++ configure.ac 2012-08-10 17:43:19 +0900 (ccd7f12) @@ -300,7 +300,10 @@ AC_ARG_WITH(debug, grn_debug="no") if test "x$grn_debug" != "xno"; then grn_debug="yes" - if test "$GCC" = "yes"; then + if test "$CC" = "clang"; then + CFLAGS="$CFLAGS -O0 -g" + CXXFLAGS="$CXXFLAGS -O0 -g" + elif test "$GCC" = "yes"; then CFLAGS="$CFLAGS -O0 -ggdb3" CXXFLAGS="$CXXFLAGS -O0 -ggdb3" fi -------------- next part -------------- HTML����������������������������...Download