Gentoo/Portage
From Sidvind
Contents |
[edit] Per-package settings
[edit] Enviroment flags only (CFLAGS, LINGUAS, etc)
Code: /etc/portage/package.env
- x11-libs/qt-webkit nodebug.conf
Code: /etc/portage/env/nodebug.conf
- CFLAGS="-march=native -Os -pipe -msse3"
- CXXFLAGS="${CFLAGS}"
Uses the same format as make.conf(5)
[edit] Alternative
Create bashrc in /etc/portage/env/${CATEGORY}/${PN} with the custom environment.
[edit] Environmental variables
[edit] EXTRA_ECONF / EXTRA_EMAKE
Pass extra flags to econf (configure) and emake (make):
EXTRA_ECONF="--disable-silent-rules" emerge -v1 foobar