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: export LDFLAGS="$(bindnow-flags)" Suggested solution: inherit flag-o-matic append-ldflags $(bindnow-flags) Or export LDFLAGS="$(bindnow-flags) ${LDFLAGS}"
in cvs.