mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
configure: add debug flags by default.
This makes development (in particular the test suite) easier. Those concerned about the extra diskspace can override the default or use strip.
This commit is contained in:
parent
5916c4634c
commit
68dd804544
2 changed files with 1 additions and 2 deletions
2
configure
vendored
2
configure
vendored
|
@ -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:-}
|
||||
|
|
|
@ -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 $?
|
||||
|
||||
|
|
Loading…
Reference in a new issue