On Fri, Aug 13, 2010 at 11:43 PM, Ryan Hill wrote: > On Fri, 13 Aug 2010 18:11:42 +0300 Markos Chandras wrote: >> Could someone guide me to add --hash-style=gnu to default/linux/amd64/dev >> profile? I don't want to break anything > > The thing is, you can't right now. :D LDFLAGS don't stack, meaning you'd > have to do something like > > --- targets/developer/make.defaults 26 Jul 2010 19:15:05 -0000 1.9 > +++ targets/developer/make.defaults 14 Aug 2010 03:31:18 -0000 > @@ -12,3 +12,6 @@ > > # Log eqawarn messages > PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa" > + > +# Help find packages not respecting LDFLAGS > +LDFLAGS="-Wl,--hash-style=gnu ${LDFLAGS}" > > > Which breaks boost-build (bug #293652). That's why I suggested just putting > a message in targets/developer/profile.bashrc (which is otherwise completely > useless).
that's crap. fix the package or at least work around it: LDFLAGS=`echo ${LDFLAGS}` we shouldnt be forced to add random hacks throughout the tree because of one or two random broken packages -mike