automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -pipe passed to gcc via Automake


From: NightStrike
Subject: Re: -pipe passed to gcc via Automake
Date: Tue, 6 Nov 2007 10:23:23 -0500

On 10/21/07, Ralf Wildenhues <address@hidden> wrote:
> Hello whoever(?),
>
> * NightStrike wrote on Sun, Oct 21, 2007 at 07:13:19PM CEST:
> > If I wanted -pipe passed in to gcc all the time, do I put that in
> > AM_CPPFLAGS or AM_CFLAGS?
>
> You pass it to configure via CFLAGS, or CC:
>   ./configure CC='gcc -pipe'
>
> It makes not much sense in *CPPFLAGS: can't it help the assembly stage,
> too?  Neither does it make sense for you, the developer, to put it in
> AM_*, because the user may want to use a compiler different from gcc.
> If you know gcc will be used, then AM_CFLAGS should be fine.

As the project is a runtime for gcc, gcc is a required compiling tool
by default.  So in this case, I think AM_CFLAGS makes sense.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]