From: Tomi Ollila Date: Tue, 3 May 2016 17:23:44 +0000 (+0300) Subject: [PATCH] configure: replace ${CXXLAGS} with ${CXXFLAGS_for_sh} X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=049ae88bea3ff9e4ac3f19629022f813d5e14305;p=notmuch-archives.git [PATCH] configure: replace ${CXXLAGS} with ${CXXFLAGS_for_sh} --- diff --git a/63/045e6f86e842c33165e3a8b8e7facb1095164f b/63/045e6f86e842c33165e3a8b8e7facb1095164f new file mode 100644 index 000000000..57d22e649 --- /dev/null +++ b/63/045e6f86e842c33165e3a8b8e7facb1095164f @@ -0,0 +1,69 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 9E9DE6DE01F7 + for ; Tue, 3 May 2016 10:24:01 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.274 +X-Spam-Level: +X-Spam-Status: No, score=0.274 tagged_above=-999 required=5 tests=[AWL=0.283, + HEADER_FROM_DIFFERENT_DOMAINS=0.001, T_RP_MATCHES_RCVD=-0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 7CgFqh8HGa5J for ; + Tue, 3 May 2016 10:23:53 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id CAFA66DE00DF + for ; Tue, 3 May 2016 10:23:51 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 64C0D1001F4; Tue, 3 May 2016 20:23:46 +0300 (EEST) +From: Tomi Ollila +To: notmuch@notmuchmail.org +Cc: tomi.ollila@iki.fi +Subject: [PATCH] configure: replace ${CXXLAGS} with ${CXXFLAGS_for_sh} +Date: Tue, 3 May 2016 20:23:44 +0300 +Message-Id: <1462296224-768-1-git-send-email-tomi.ollila@iki.fi> +X-Mailer: git-send-email 2.6.4 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Tue, 03 May 2016 17:24:01 -0000 + +Variable CXXLAGS expands to nothing, CXXFLAGS something unusable +here; CXXFLAGS_for_sh expands to what we expect here. +--- + +I was palying with a patch set that enables 'set -eu' in usable way +when I noticed this... + + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index 09e009b34115..0cbd64b1d26b 100755 +--- a/configure ++++ b/configure +@@ -380,7 +380,7 @@ int main(int argc, char** argv) { + Xapian::WritableDatabase db("test.db",Xapian::DB_CREATE_OR_OPEN); + } + EOF +- ${CXX} ${CXXLAGS} ${xapian_cxxflags} _default_backend.cc -o _default_backend ${xapian_ldflags} ++ ${CXX} ${CXXFLAGS_for_sh} ${xapian_cxxflags} _default_backend.cc -o _default_backend ${xapian_ldflags} + ./_default_backend + if [ -f test.db/iamglass ]; then + default_xapian_backend=glass +-- +2.6.4 +