Let's gentooize: %filterout_* macros

sparky at pld-linux.org sparky at pld-linux.org
Sat Aug 5 05:18:05 CEST 2006


On Sat, Aug 05, 2006 at 05:03:09AM +0200, sparky at pld-linux.org wrote:
> On Fri, Aug 04, 2006 at 07:01:35PM +0200, sparky at pld-linux.org wrote:
> > 
> > Well, it shouldn't be perl, but i don't know how to write it in awk.
> 
> Now I know, it isn't as pretty as perl, but works too:
> 
> ===============================================================
> %rpmcflags %(awk 'BEGIN {
> 	split("%{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}",I);
> 	split("%{?filterout_c}",F);

should be:
	split("%{?filterout_c} %{?filterout_ld}",F);

it's usual to put ldflags in cflags


-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


More information about the pld-devel-en mailing list