adding custom CFLAGS

Larry Brigman larry.brigman at gmail.com
Wed Oct 18 17:43:22 UTC 2006


On 10/18/06, Larry Brigman <larry.brigman at gmail.com> wrote:
> On 10/18/06, Bernhard Fischer <rep.nop at aon.at> wrote:
> > On Wed, Oct 18, 2006 at 12:24:53PM -0400, Rob Landley wrote:
> > >On Wednesday 18 October 2006 12:25 am, Larry Brigman wrote:
> >
> > >overriding anything provided in environment variables, isn't it?
It looks like the makefile is overriding everything I provide in the
environment.

> >
> > You can say
> > make EXTRA_CFLAGS="-my-fancy-flags" CROSS="i286-hurd-uclibc"
> Do you need to do this on the command line for make oldconfig and make all?
>
I added the EXTRA_CFLAGS on both make oldconfig and make all along with
LDFLAGS but it is still trying to link with my workstation libs when my LDFLAGS
are pointing elsewhere.



More information about the busybox mailing list