From the build log: make -j6 'CFLAGS=-O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' cc -O2 -pipe -c -o linux.o linux.c cc -O2 -pipe -c -o conn.o conn.c cc -O2 -pipe -c -o file.o file.c cc -O2 -pipe -c -o heap.o heap.c cc -O2 -pipe -c -o job.o job.c cc -O2 -pipe -c -o ms.o ms.c cc -O2 -pipe -c -o net.o net.c
Thanks for the bug. Suggested patch: diff --git usr/portage/app-misc/beanstalkd/beanstalkd-1.9.ebuild beanstalkd-1.9.ebuild index 457e430..5ae3cf2 100644 --- usr/portage/app-misc/beanstalkd/beanstalkd-1.9.ebuild +++ beanstalkd-1.9.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit eutils systemd user +inherit eutils systemd toolchain-funcs user DESCRIPTION="A simple, fast work queue" HOMEPAGE="http://kr.github.io/beanstalkd/" @@ -32,7 +32,7 @@ src_prepare() { } src_compile() { - emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" LD="$(tc-getLD)" } src_install() {
+ 21 Jul 2014; Patrick Lauer <patrick@gentoo.org> +beanstalkd-1.9-r1.ebuild, + -beanstalkd-1.9.ebuild: + Fix cc invocation #517512