This makes development (in particular the test suite) easier. Those
concerned about the extra diskspace can override the default or use
strip.
# environment variables)
CC=${CC:-cc}
CXX=${CXX:-c++}
-CFLAGS=${CFLAGS:--O2}
+CFLAGS=${CFLAGS:--g -O2}
CPPFLAGS=${CPPFLAGS:-}
CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}
LDFLAGS=${LDFLAGS:-}
"$(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 $?