* 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


Reply via email to