configure: add debug flags by default.
authorDavid Bremner <david@tethera.net>
Fri, 3 Oct 2014 20:22:10 +0000 (22:22 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 5 Oct 2014 05:27:49 +0000 (07:27 +0200)
This makes development (in particular the test suite) easier. Those
concerned about the extra diskspace can override the default or use
strip.

configure
test/T000-basic.sh

index 86ba2f7c66ead7c11c8738aaa3c40f8a1009249b..331f29bd96709a5e2b3dbab2ccf75bdcc9ed550b 100755 (executable)
--- a/configure
+++ b/configure
@@ -45,7 +45,7 @@ fi
 # environment variables)
 CC=${CC:-cc}
 CXX=${CXX:-c++}
-CFLAGS=${CFLAGS:--O2}
+CFLAGS=${CFLAGS:--g -O2}
 CPPFLAGS=${CPPFLAGS:-}
 CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}
 LDFLAGS=${LDFLAGS:-}
index bf08f3e66e84f4ce1d392c254c4b4d96546bd291..ef642457ffafb85fb32940401bc6c3c15e68a43d 100755 (executable)
@@ -92,7 +92,6 @@ test_expect_equal \
     "$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')"
 
 test_begin_subtest 'notmuch is compiled with debugging symbols'
-test_subtest_known_broken
 readelf --sections $(which notmuch) | grep \.debug
 test_expect_equal 0 $?