1) The Makefile appends -Werror and -g to CFLAGS. 2) The Makefile already adds -D_GNU_SOURCE (by appending it incorrectly to CFLAGS instead of CPPFLAGS). --- reptyr-0.4.ebuild 4 Dec 2012 11:30:29 -0000 1.3 +++ reptyr-0.4.ebuild 28 May 2013 22:50:04 -0000 @@ -15,8 +15,12 @@ KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux" IUSE="" +src_prepare() { + sed -i -e '/^override/d' Makefile || die +} + src_compile() { - append-cflags -D_GNU_SOURCE + append-cppflags -D_GNU_SOURCE emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" }
Fixed in CVS.