1 Return-Path: <felipe.contreras@gmail.com>
\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 D206740D166
\r
6 for <notmuch@notmuchmail.org>; Fri, 29 Oct 2010 16:17:26 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.991 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
\r
13 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
\r
14 UPPERCASE_50_75=0.008] autolearn=no
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id P0J2ZIYB4uih for <notmuch@notmuchmail.org>;
\r
18 Fri, 29 Oct 2010 16:17:16 -0700 (PDT)
\r
19 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com
\r
21 by olra.theworths.org (Postfix) with ESMTP id B984040D167
\r
22 for <notmuch@notmuchmail.org>; Fri, 29 Oct 2010 16:16:59 -0700 (PDT)
\r
23 Received: by mail-fx0-f53.google.com with SMTP id 6so3893367fxm.26
\r
24 for <notmuch@notmuchmail.org>; Fri, 29 Oct 2010 16:16:59 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=domainkey-signature:received:received:from:to:cc:subject:date
\r
27 :message-id:x-mailer:in-reply-to:references;
\r
28 bh=KVJPGfp/AF2oNFnsglDFGk2U5pujj0KKpb3XtdLM19s=;
\r
29 b=fWlBENGnAxcITbvXUGuUMRZrPnylsnEde/bEc5PX66dWLBQEgE3gTL1yagIjGeE0QV
\r
30 V1ZkXPcWfaxvfNBe/nRimRB5qNzWzhxzE+XfRgFfAkGY+QUK7Zl8zy6uSMqkK0cBDqve
\r
31 2xLDAGzS5+Iwpjur16pfXKQ6bFzFjpYSsUu8s=
\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
33 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
34 b=kziV1QjQ88s/oIuBYeyeuUSQrMHqdZ6cja4tpmyJREg1x/7TzAxf0EiIjU9MX7ucyh
\r
35 GfC3dWT9ntNniwRrAomlLWDfquVsvzMcTfpocJPgPJlpVJDb13WoHrDu03D/yq88btao
\r
36 rJ6Hw7afK2WJRRQ4C8L0EgKkrAovq6cAT1DdU=
\r
37 Received: by 10.223.74.10 with SMTP id s10mr3225846faj.77.1288394219417;
\r
38 Fri, 29 Oct 2010 16:16:59 -0700 (PDT)
\r
39 Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80])
\r
40 by mx.google.com with ESMTPS id d17sm1306792fav.5.2010.10.29.16.16.58
\r
41 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
42 Fri, 29 Oct 2010 16:16:58 -0700 (PDT)
\r
43 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH 2/2] build: only link to what we really use
\r
46 Date: Sat, 30 Oct 2010 02:16:47 +0300
\r
47 Message-Id: <1288394207-10223-3-git-send-email-felipe.contreras@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.3.2.2.g0dc5c
\r
49 In-Reply-To: <1288394207-10223-1-git-send-email-felipe.contreras@gmail.com>
\r
50 References: <1288394207-10223-1-git-send-email-felipe.contreras@gmail.com>
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Fri, 29 Oct 2010 23:17:27 -0000
\r
65 At least linux has the -Wl,--as-needed option.
\r
67 Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
\r
69 Makefile.local | 4 +++-
\r
70 1 files changed, 3 insertions(+), 1 deletions(-)
\r
72 diff --git a/Makefile.local b/Makefile.local
\r
73 index 9fed725..70c395a 100644
\r
74 --- a/Makefile.local
\r
75 +++ b/Makefile.local
\r
76 @@ -33,7 +33,9 @@ FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE
\r
77 FINAL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(CONFIGURE_CXXFLAGS) $(extra_cflags) $(extra_cxxflags)
\r
78 FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Llib -lnotmuch $(GMIME_LDFLAGS) $(TALLOC_LDFLAGS)
\r
79 FINAL_NOTMUCH_LINKER = CC
\r
80 -ifneq ($(LINKER_RESOLVES_LIBRARY_DEPENDENCIES),1)
\r
81 +ifeq ($(LINKER_RESOLVES_LIBRARY_DEPENDENCIES),1)
\r
82 +FINAL_NOTMUCH_LDFLAGS += -Wl,--as-needed
\r
84 FINAL_NOTMUCH_LDFLAGS += $(CONFIGURE_LDFLAGS)
\r
85 FINAL_NOTMUCH_LINKER = CXX
\r