mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +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)
|
# environment variables)
|
||||||
CC=${CC:-cc}
|
CC=${CC:-cc}
|
||||||
CXX=${CXX:-c++}
|
CXX=${CXX:-c++}
|
||||||
CFLAGS=${CFLAGS:--O2}
|
CFLAGS=${CFLAGS:--g -O2}
|
||||||
CPPFLAGS=${CPPFLAGS:-}
|
CPPFLAGS=${CPPFLAGS:-}
|
||||||
CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}
|
CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}
|
||||||
LDFLAGS=${LDFLAGS:-}
|
LDFLAGS=${LDFLAGS:-}
|
||||||
|
|
|
@ -92,7 +92,6 @@ test_expect_equal \
|
||||||
"$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')"
|
"$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')"
|
||||||
|
|
||||||
test_begin_subtest 'notmuch is compiled with debugging symbols'
|
test_begin_subtest 'notmuch is compiled with debugging symbols'
|
||||||
test_subtest_known_broken
|
|
||||||
readelf --sections $(which notmuch) | grep \.debug
|
readelf --sections $(which notmuch) | grep \.debug
|
||||||
test_expect_equal 0 $?
|
test_expect_equal 0 $?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue