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