From: David Bremner Date: Fri, 3 Oct 2014 20:22:10 +0000 (+0200) Subject: [PATCH 2/2] configure: add debug flags by default. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=33c43f839d2c31cb092bd3df4055cb2cecc3fdf9;p=notmuch-archives.git [PATCH 2/2] configure: add debug flags by default. --- diff --git a/6b/e1ce29b10562df69ad1e887e57e70fc3625a3a b/6b/e1ce29b10562df69ad1e887e57e70fc3625a3a new file mode 100644 index 000000000..d88abc005 --- /dev/null +++ b/6b/e1ce29b10562df69ad1e887e57e70fc3625a3a @@ -0,0 +1,84 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 140F3431FC3 + for ; Fri, 3 Oct 2014 13:22:39 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id pxr126+eyEXB for ; + Fri, 3 Oct 2014 13:22:35 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 1F572431FB6 + for ; Fri, 3 Oct 2014 13:22:35 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1Xa9N4-000091-PS; Fri, 03 Oct 2014 17:22:34 -0300 +Received: (nullmailer pid 25940 invoked by uid 1000); Fri, 03 Oct 2014 + 20:22:18 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [PATCH 2/2] configure: add debug flags by default. +Date: Fri, 3 Oct 2014 22:22:10 +0200 +Message-Id: <1412367730-25890-2-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.1.0 +In-Reply-To: <1412367730-25890-1-git-send-email-david@tethera.net> +References: <1412367730-25890-1-git-send-email-david@tethera.net> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 03 Oct 2014 20:22:39 -0000 + +This makes development (in particular the test suite) easier. Those +concerned about the extra diskspace can override the default or use +strip. +--- + configure | 2 +- + test/T000-basic.sh | 1 - + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/configure b/configure +index 86ba2f7..331f29b 100755 +--- 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:-} +diff --git a/test/T000-basic.sh b/test/T000-basic.sh +index bf08f3e..ef64245 100755 +--- a/test/T000-basic.sh ++++ b/test/T000-basic.sh +@@ -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 $? + +-- +2.1.0 +