adding custom CFLAGS
Peter N. Andreasen
peterarbejde at gmail.com
Thu Oct 19 05:01:18 PDT 2006
> Date: Wed, 18 Oct 2006 10:43:22 -0700
> From: "Larry Brigman" <larry.brigman at gmail.com>
> Subject: Re: adding custom CFLAGS
> To: busybox at busybox.net
> Message-ID:
> <ca5165530610181043h77577c64u68186b0aaf5fa9b4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 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.
>
I think I have the same problem.. can you tell me if this is correct?
In the 1.0 release in Rules.mak I would set
LIBCDIR := / ... path to my crosstools
now I set
EXTRA_CFLAGS = /opt/crosstool/gcc-3.4.1-glibc-2.3.3/powerpc-405-linux-gnu
Peter
More information about the busybox
mailing list