From: Ian Jackson Subject: Re: [PATCH 2/2] tools: Clear private variables from configure --with-opt Date: Wed, 22 Oct 2014 14:06:47 +0100 Message-ID: <21575.44007.860491.53690@mariner.uk.xensource.com> References: <1413899584-26484-1-git-send-email-olaf@aepfle.de> <1413899584-26484-2-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1413899584-26484-2-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Stefano Stabellini , Wei Liu , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Olaf Hering writes ("[PATCH 2/2] tools: Clear private variables from configure --with-opt"): > Configure will use variables from environment when substituting a > private variable if the corresponding --with*-foo option is omited. > This happens for seabios_path, ovmf_path and EXTRA_QEMUU_CONFIGURE_ARGS: > > git clean -dfx > env EXTRA_QEMUU_CONFIGURE_ARGS=XXXXXXXXXXXXXXXX ./configure > grep XXXXXXXXXXXXXXXX config/Tools.mk > CONFIG_QEMUU_EXTRA_ARGS:= XXXXXXXXXXXXXXXX > > The reason is the empty "action-if-not-given" case. Fix the bug by > clearing the variables in this case. Why on earth is this a problem ? My answer is `don't do that then'. Ian.