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 A4C124196F2 for ; Sun, 11 Apr 2010 16:45:00 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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 LdjrAr3C8HFc for ; Sun, 11 Apr 2010 16:45:00 -0700 (PDT) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.148]) by olra.theworths.org (Postfix) with ESMTP id DFA2E431FC1 for ; Sun, 11 Apr 2010 16:44:59 -0700 (PDT) Received: by qw-out-1920.google.com with SMTP id 5so1634849qwc.32 for ; Sun, 11 Apr 2010 16:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:x-mailer:in-reply-to:references; bh=dMakOge8o1T0VbQOIRbM0MZ5isiZhWBPCpbYhH1uMyw=; b=BalmiYVP/TrpcSyTgclfiGVs5if88B/c4wWLVr640nXrhPC6oIhWaACMLgheem/itG 4ObyHzB+aWQVbUqj/pWmGG5Fg0tgYHt2gk4bE1rNeK7YehtB4znjOibSPFUPfJK7MovG wh1NOJ1Y8w58wErdy4njk5tELYj2PNoUj72fM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; b=NYjYnnhg/JfZPv7zICsun/vySTELhL+U2ngHDPgJskBs2XgQeDS1Tk1MdJvI6xaIF9 Qgdww+lnEw9aQYz7EdrPuOR18H/2jHjK+HHD93Xcfx6XtPbGdqJ6Pzd7Gext+TnUbyfZ 2nnR3AS1UZMAtnLpuKdKVcUrru77EU5OHJpJk= Received: by 10.224.17.161 with SMTP id s33mr1149802qaa.267.1271029499403; Sun, 11 Apr 2010 16:44:59 -0700 (PDT) Received: from localhost.localdomain (vpm120.wireless-resnet.upenn.edu [165.123.236.140]) by mx.google.com with ESMTPS id 8sm7425346qwj.50.2010.04.11.16.44.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Apr 2010 16:44:59 -0700 (PDT) From: Aaron Ecay To: notmuch@notmuchmail.org Subject: [PATCH 1/4] Use C++ compiler to link notmuch binaries Date: Sun, 11 Apr 2010 19:44:51 -0400 Message-Id: <1271029494-89014-1-git-send-email-aaronecay@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <4bc25ea0.86c3f10a.45a3.ffff80d3@mx.google.com> References: <4bc25ea0.86c3f10a.45a3.ffff80d3@mx.google.com> 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: Sun, 11 Apr 2010 23:45:00 -0000 Since the binaries contain C++ code, it is necessary to use the C++ linker, or errors result on some platforms (OS X). Signed-off-by: Aaron Ecay --- Makefile.local | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.local b/Makefile.local index 71525e2..9e753cd 100644 --- a/Makefile.local +++ b/Makefile.local @@ -216,10 +216,10 @@ notmuch_client_srcs = \ notmuch_client_modules = $(notmuch_client_srcs:.c=.o) notmuch: $(notmuch_client_modules) lib/libnotmuch.a - $(call quiet,CC $(CFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -o $@ + $(call quiet,CXX $(CFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -o $@ notmuch-shared: $(notmuch_client_modules) lib/libnotmuch.so - $(call quiet,CC $(CFLAGS)) $(notmuch_client_modules) $(FINAL_NOTMUCH_LDFLAGS) -o $@ + $(call quiet,CXX $(CFLAGS)) $(notmuch_client_modules) $(FINAL_NOTMUCH_LDFLAGS) -o $@ notmuch.1.gz: notmuch.1 gzip --stdout $^ > $@ -- 1.7.0.4