[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CPPFLAGS for LIBOBJS
From: |
Ralf Wildenhues |
Subject: |
Re: CPPFLAGS for LIBOBJS |
Date: |
Wed, 23 Apr 2008 22:02:57 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
* Ralf Wildenhues wrote on Wed, Apr 23, 2008 at 09:57:46PM CEST:
> * Russ Allbery wrote on Wed, Apr 23, 2008 at 02:16:34AM CEST:
> > > If I add:
> > >
> > > portable_libportable_a_CPPFLAGS = $(KRB5_LDFLAGS) $(KAFS_LDFLAGS)
> >
> > Er, obviously that should be KRB5_CPPFLAGS and KAFS_CPPFLAGS. Sorry about
> > the confusion.
>
> Should it also be libportable_a_CPPFLAGS instead of portable_&?
Ah, you're hinting at $(LIBOBJS) specifically, right?
Yes, they don't get per-target preprocessor or compile flags.
That doesn't work, because then they would have to be renamed:
$(LIBOBJS) may be added to several outputs, each with different
per-target flags.
You could remove those files from LIBOBJS, or take a more complicated
approach such as the one that gnulib takes.
Hope that helps.
Cheers,
Ralf