1 Return-Path: <bremner@tesseract.cs.unb.ca>
\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 olra.theworths.org (Postfix) with ESMTP id E35BA431FBC
\r
6 for <notmuch@notmuchmail.org>; Sat, 25 May 2013 18:28:56 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id ypzvQld5+2-J for <notmuch@notmuchmail.org>;
\r
16 Sat, 25 May 2013 18:28:51 -0700 (PDT)
\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])
\r
18 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 8BC19431FAE
\r
21 for <notmuch@notmuchmail.org>; Sat, 25 May 2013 18:28:38 -0700 (PDT)
\r
22 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])
\r
23 by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id r4Q1SU7g019217;
\r
24 Sat, 25 May 2013 22:28:30 -0300
\r
25 Received: from remotemail by tesseract.cs.unb.ca with local (Exim 4.80)
\r
26 (envelope-from <bremner@tesseract.cs.unb.ca>)
\r
27 id 1UgPl8-0004w1-7v; Sat, 25 May 2013 22:28:30 -0300
\r
28 Received: (nullmailer pid 17207 invoked by uid 1000);
\r
29 Sun, 26 May 2013 01:28:16 -0000
\r
30 From: david@tethera.net
\r
31 To: notmuch@notmuchmail.org
\r
32 Subject: [PATCH 2/3] configure: grab CPPFLAGS from the environment.
\r
33 Date: Sat, 25 May 2013 22:28:12 -0300
\r
34 Message-Id: <1369531693-16918-3-git-send-email-david@tethera.net>
\r
35 X-Mailer: git-send-email 1.7.10.4
\r
36 In-Reply-To: <1369531693-16918-1-git-send-email-david@tethera.net>
\r
37 References: <1369531693-16918-1-git-send-email-david@tethera.net>
\r
38 Cc: David Bremner <bremner@debian.org>
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.13
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Sun, 26 May 2013 01:28:57 -0000
\r
53 From: David Bremner <bremner@debian.org>
\r
55 This is needed in particular for hardening flags.
\r
58 1 file changed, 5 insertions(+)
\r
60 diff --git a/configure b/configure
\r
61 index 460fcfc..3ba1ec3 100755
\r
64 @@ -43,6 +43,7 @@ fi
\r
67 CFLAGS=${CFLAGS:--O2}
\r
68 +CPPFLAGS=${CPPFLAGS:-}
\r
69 CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}
\r
70 LDFLAGS=${LDFLAGS:-}
\r
71 XAPIAN_CONFIG=${XAPIAN_CONFIG:-xapian-config}
\r
72 @@ -91,6 +92,7 @@ First, some common variables can specified via environment variables:
\r
74 CC The C compiler to use
\r
75 CFLAGS Flags to pass to the C compiler
\r
76 + CPPFLAGS Flags to pass to the C preprocessor
\r
77 CXX The C++ compiler to use
\r
78 CXXFLAGS Flags to pass to the C compiler
\r
79 LDFLAGS Flags to pass when linking
\r
80 @@ -615,6 +617,9 @@ EMACS = emacs --quick
\r
81 # Default FLAGS for C compiler (can be overridden by user such as "make CFLAGS=-g")
\r
84 +# Default FLAGS for C preprocessor (can be overridden by user such as "make CPPFLAGS=-I/usr/local/include")
\r
85 +CPPFLAGS = ${CPPFLAGS}
\r
87 # Default FLAGS for C++ compiler (can be overridden by user such as "make CXXFLAGS=-g")
\r
88 CXXFLAGS = ${CXXFLAGS}
\r