public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] per-ebuild compil options
@ 2007-10-02  4:34 Iain Buchanan
  2007-10-02  8:56 ` Neil Bothwick
  0 siblings, 1 reply; 6+ messages in thread
From: Iain Buchanan @ 2007-10-02  4:34 UTC (permalink / raw
  To: gentoo-user

Hi all,

after recompiling another bunch of libraries just to "unstrip" them, I'm
wondering if I can specify FEATURES and CXXOPTS (for example) on a
per-ebuild basis.

eg. I would always want to build glib and glibc with nostrip in the
FEATURES, and -ggdb in the compile options, but all other ebuilds would
be as normal.

Any way I can do this without putting the ebuilds in my overlay?  I know
I can do it on the command line:
FEATURES="blah nostrip" CFLAGS="blah -ggdb" CXXFLAGS="${CFLAGS}" sudo
emerge -va1 glibc
but that kind-of gets defeated during an emerge world.

thanks,
-- 
Iain Buchanan <iain at pcorp dot com dot au>

Humor in the Court:
Q: ...any suggestions as to what prevented this from being a murder trial 
   instead of an attempted murder trial?
A: The victim lived.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-10-03 23:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02  4:34 [gentoo-user] per-ebuild compil options Iain Buchanan
2007-10-02  8:56 ` Neil Bothwick
2007-10-03  0:38   ` Iain Buchanan
2007-10-03 18:09     ` Bo Ørsted Andresen
2007-10-03 21:33       ` Neil Bothwick
2007-10-03 23:15         ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox