From: Iain Buchanan <iain@pcorp.com.au>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] per-ebuild compil options
Date: Tue, 02 Oct 2007 14:04:10 +0930 [thread overview]
Message-ID: <1191299650.8586.5.camel@orpheus> (raw)
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
next reply other threads:[~2007-10-02 4:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-02 4:34 Iain Buchanan [this message]
2007-10-02 8:56 ` [gentoo-user] per-ebuild compil options 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1191299650.8586.5.camel@orpheus \
--to=iain@pcorp.com.au \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox