On (18/12/05 12:31), Paweł Madej wrote: > Hello, > > I got a question if there is possibility to force some packages to use > other LDFLAGS that are set globally in /etc/make.conf > > My global LDFLAGS are "-z combreloc -s" and there is only one package > which crashes with them. It is wine. It recognizes word combreloc in > that flag as a filename and crashes with no such file error. > > So my question is how to change LDFLAGS to empty for that one package? > > Greets > Pawel > -- > [email protected] mailing list > Hi, Yes you can, but it's something like a hack presently. A year or more ago on this (IIRC) ML there was a thread called "Portage Toys" - by spider & others. It was a hack using /etc/portage/bashrc script to set some cflags/ldflags on a per-package base. Later other dev - "urilith" (IIRC) made it modular - i'm using his version (1.4). Be warned that the usage of this is your responsibility, don't file bugs using this "feature". Use it *only* if you know what you're doing. Frankly said lately i'm not using this very much. Other way is to hack the ebuild directly in an overlay. HTH.Rumen
pgpA3pSRA46vg.pgp
Description: PGP signature

