Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 217D420248 for ; Fri, 22 Feb 2019 15:18:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726505AbfBVPSg (ORCPT ); Fri, 22 Feb 2019 10:18:36 -0500 Received: from cloud.peff.net ([104.130.231.41]:54448 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726325AbfBVPSg (ORCPT ); Fri, 22 Feb 2019 10:18:36 -0500 Received: (qmail 1696 invoked by uid 109); 22 Feb 2019 15:18:36 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Fri, 22 Feb 2019 15:18:36 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 28743 invoked by uid 111); 22 Feb 2019 15:18:49 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.94) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) SMTP; Fri, 22 Feb 2019 10:18:49 -0500 Authentication-Results: peff.net; auth=none Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Fri, 22 Feb 2019 10:18:34 -0500 Date: Fri, 22 Feb 2019 10:18:34 -0500 From: Jeff King To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Cc: git@vger.kernel.org, Junio C Hamano , =?utf-8?B?Tmd1eeG7hW4gVGjDoWkgTmfhu41j?= Duy , Thomas Gummerer , Beat Bolli , Lars Schneider , Matthieu Moy Subject: Re: [PATCH v2 2/6] Makefile: move "strip" assignment down from flags Message-ID: <20190222151834.GA21524@sigill.intra.peff.net> References: <20190222105658.26831-1-avarab@gmail.com> <20190222144127.32248-3-avarab@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190222144127.32248-3-avarab@gmail.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Fri, Feb 22, 2019 at 03:41:23PM +0100, Ævar Arnfjörð Bjarmason wrote: > Move the assignment of the "STRIP" variable down to where we're > setting variables with the names of other programs. > > For consistency with those use "=" for the assignment instead of > "?=". I can't imagine why this would need to be different than the > rest, and 4dc00021f7 ("Makefile: add 'strip' target", 2006-01-12) > which added it doesn't provide an explanation. This might annoy somebody expecting $STRIP in the environment to have precedence. But I agree that consistency is probably our best strategy here, and I don't see any reason the same argument would not apply to $SPATCH, or $CC for that matter. (So I could see an argument for moving them all to "?=", but that can create its own confusion as environment variables accidentally start taking effect). -Peff