From: Ian Jackson Subject: Re: [PATCH] tools/build: append user includes and libraries at the end of the compile flags Date: Mon, 17 Oct 2011 15:33:25 +0100 Message-ID: <20124.15541.672787.681791@mariner.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Roger Pau Monne Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[Xen-devel] [PATCH] tools/build: append user includes and libraries at the end of the compile flags"): > tools/build: append user includes and libraries at the end of the compile flags > > Appending EXTRA_LIB and EXTRA_INCLUDES to LDFLAGS and CFLAGS respectively made the compiler and linker choose the libraries and header files present in the user's local folder rather than the ones present in the Xen build folder. EXTRA_LIB and EXTRA_INCLUDES are now appended at the end to prevent this. This looks reasonable to me, although the commit message still talks about EXTRA_*. Is everyone happy with the name USER_{LDFLAGS,CFLAGS} ? I'll give people a few days to comment, but I'm inclined to apply this one. Thanks, Ian.