From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Larson Date: Tue, 02 Dec 2003 01:33:27 +0000 Subject: Re: [PATCH] Allow override of CFLAGS/LDFLAGS Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org * Greg KH (greg@kroah.com) wrote: > On Mon, Nov 24, 2003 at 04:59:19PM -0600, Chris Larson wrote: > > Greetings, > > > > As it is generally a good idea to allow the user to override CFLAGS and > > LDFLAGS (automake based systems manage this with AM_CFLAGS vs CFLAGS), > > here's a patch that does so. The key is to keep options that are > > required to build, along with include and link paths relative to the > > source dir seperate from those that should be overridable (warning > > flags, debug flags, optimizations, include/lib paths outside the source > > tree). Rather than adding another couple variables, I made use of the > > GNU make 'override' directive. > > Hm, this patch breaks the binary when building with klibc. Can you try > to fix it up? Will do, thanks. -- Chris Larson - kergoth at handhelds dot org Embedded Linux Developer - clarson at ti dot com OpenZaurus Project Maintainer - http://openzaurus.org/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel