[PATCH] Separate CFLAGS and CPPFLAGS

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Thu Dec 7 16:15:50 EST 2000


On Wed, 6 Dec 2000 mouring at etoh.eviladmin.org wrote:

> On Thu, 7 Dec 2000, Damien Miller wrote:
> 
> > On Wed, 6 Dec 2000 mouring at etoh.eviladmin.org wrote:
> > 
> > > 
> > > Ok.. Let me wake up for a few minutes.
> > > 
> > > =)
> > > 
> > > Attached should be a patch that splits CFLAGS into CFLAGS and CPPFLAGS.
> > > 
> > > If anyone knows a better way or sees a problem with it.. Let me know.  If
> > > I don't hear anything I'll apply it in a few days.
> > 
> > Is this correct?
> > 
> >  *-*-hpux10*)
> >         if test -z "$GCC"; then
> > -               CFLAGS="$CFLAGS -Ae"
> > +               CPPFLAGS="$CPPFLAGS -Ae"
> >         fi
> > 
> > Is Ae a c or cpp flag?
> > 
> Unsure.  I assumed that anything that was required to compile OpenSSH
> should be pushed to CPPFLAGS to ensure that one does not mistakenly
> clober things by doing 'make CLFAGS=".."'  
> 
> But each respective platform maintainer(s) should really review and let me
> know if I'm smoking crack.   =)
> 
> > You might also want to add a '--with-cppflags' configure option for 
> > consistency.
> > 
> Noted.. I'll add it before the final commit.
> 
> 
Umm... No one tell me about --with-cflags issue. =) I caught it.. I
mistaken changed it. to CPPFLAGS =)  Oops.

- Ben






More information about the openssh-unix-dev mailing list