1 Return-Path: <too@guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 9E9DE6DE01F7
\r
6 for <notmuch@notmuchmail.org>; Tue, 3 May 2016 10:24:01 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.274 tagged_above=-999 required=5 tests=[AWL=0.283,
\r
12 HEADER_FROM_DIFFERENT_DOMAINS=0.001, T_RP_MATCHES_RCVD=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 7CgFqh8HGa5J for <notmuch@notmuchmail.org>;
\r
17 Tue, 3 May 2016 10:23:53 -0700 (PDT)
\r
18 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
19 by arlo.cworth.org (Postfix) with ESMTP id CAFA66DE00DF
\r
20 for <notmuch@notmuchmail.org>; Tue, 3 May 2016 10:23:51 -0700 (PDT)
\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
22 id 64C0D1001F4; Tue, 3 May 2016 20:23:46 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: notmuch@notmuchmail.org
\r
25 Cc: tomi.ollila@iki.fi
\r
26 Subject: [PATCH] configure: replace ${CXXLAGS} with ${CXXFLAGS_for_sh}
\r
27 Date: Tue, 3 May 2016 20:23:44 +0300
\r
28 Message-Id: <1462296224-768-1-git-send-email-tomi.ollila@iki.fi>
\r
29 X-Mailer: git-send-email 2.6.4
\r
30 X-BeenThere: notmuch@notmuchmail.org
\r
31 X-Mailman-Version: 2.1.20
\r
33 List-Id: "Use and development of the notmuch mail system."
\r
34 <notmuch.notmuchmail.org>
\r
35 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
36 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
38 List-Post: <mailto:notmuch@notmuchmail.org>
\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
40 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
42 X-List-Received-Date: Tue, 03 May 2016 17:24:01 -0000
\r
44 Variable CXXLAGS expands to nothing, CXXFLAGS something unusable
\r
45 here; CXXFLAGS_for_sh expands to what we expect here.
\r
48 I was palying with a patch set that enables 'set -eu' in usable way
\r
49 when I noticed this...
\r
52 1 file changed, 1 insertion(+), 1 deletion(-)
\r
54 diff --git a/configure b/configure
\r
55 index 09e009b34115..0cbd64b1d26b 100755
\r
58 @@ -380,7 +380,7 @@ int main(int argc, char** argv) {
\r
59 Xapian::WritableDatabase db("test.db",Xapian::DB_CREATE_OR_OPEN);
\r
62 - ${CXX} ${CXXLAGS} ${xapian_cxxflags} _default_backend.cc -o _default_backend ${xapian_ldflags}
\r
63 + ${CXX} ${CXXFLAGS_for_sh} ${xapian_cxxflags} _default_backend.cc -o _default_backend ${xapian_ldflags}
\r
65 if [ -f test.db/iamglass ]; then
\r
66 default_xapian_backend=glass
\r