The ebuilds exports LDFLAGS in a manner that overwrites any user defined settings. This breaks cross-compiling among other things that rely on passing -L${ROOT}/lib/path path options. Offending code: useq static && LDFLAGS="-static" Suggested solution: inherit flag-o-matic use static && append-ldflags -static
Fixed, among other things, in CVS. Thanks.