The ebuild of rtmpdump has this: emake CC=$(tc-getCC) LD=$(tc-getLD) \ OPT="${CFLAGS}" XLDFLAGS="${LDFLAGS}" CRYPTO="${crypto}" SYS=posix || die "emake failed" Since CC and LD can contain a space when cross-compiling (example: CC="x86_64-pc-linux-gnu-gcc -m32"), the results of tc-getCC and tc-getLD need quoted around them: emake CC="$(tc-getCC)" LD="$(tc-getLD)" \ OPT="${CFLAGS}" XLDFLAGS="${LDFLAGS}" CRYPTO="${crypto}" SYS=posix || die "emake failed" Otherwise GNU make complains about unknown -3 and -2 options. Probably you want to check other packages for this failure pattern. Reproducible: Always A not-so-sane workalike of the multilib-portage overlay is used on this computer. Please take the report with a grain of salt.
A simple command grep -r 'make.*=$(tc-getCC)' /usr/portage/*-* | cut -d / -f 4,5 | sort -u found 158 packages that may have the same problem.
+ 25 Nov 2012; Markos Chandras <hwoarang@gentoo.org> rtmpdump-2.3.ebuild, + rtmpdump-2.4.ebuild, rtmpdump-9999.ebuild: + Add missing quotes for tc-getXX functions to avoid problems with cross- + compilation. Bug #444590. Thanks to Alexander E. Patrakov <patrakov@gmail.com> +