From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: Build problems with xen 4.7 Date: Wed, 02 Dec 2015 03:05:00 -0700 Message-ID: <565ED05C02000078000BB28E@prv-mh.provo.novell.com> References: <565DAC7402000078000BACE9@prv-mh.provo.novell.com> <5BB49958-6315-4EAA-967C-73FC9B442B73@oracle.com> <565DD12302000078000BAE6B@prv-mh.provo.novell.com> <20151201155941.GG19885@char.us.oracle.com> <565DD43602000078000BAEA1@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: M A Young Cc: Marcos Matsunaga , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 01.12.15 at 19:47, wrote: > On Tue, 1 Dec 2015, Jan Beulich wrote: >> I.e. there must be something different in how make gets invoked or >> the environment set up. > > It happens if CFLAGS is set to anything as a environment variable, eg. > export CFLAGS=" " > make dist-xen Ugly, but I think it could be worked around (if we really want to support CFLAGS coming in from the command line), along the lines of ABC_ORIG := $(ABC) unexport ABC MAKE := ABC=$(ABC_ORIG) $(MAKE) ABC += xyz all: @echo $@: 'ABC=$(ABC)' "ABC=$$ABC" $(MAKE) test test: @echo $@: 'ABC=$(ABC)' "ABC=$$ABC" Jan