src_configure
Function | src_configure |
---|---|
Purpose | Configure the package. |
Sandbox | Enabled |
Privilege | user |
Called for | ebuild |
EAPI | 2 |
Sample src_configure
inherit flag-o-matic
src_configure() {
use sparc && filter-flags -fomit-frame-pointer
append-ldflags -Wl,-z,now
econf \
$(use_enable ssl) \
$(use_enable perl perlinterp)
}
Note:
You also need to inherit the
flag-o-matic
eclass in order to use the
append-ldflags
function.