this was apparently added in : 08 May 2004; Danny van Dyk <kugelfang@gentoo.org> patch-2.5.9.ebuild: Filtering "-pie" from LDFLAGS and appending manually to the Makefile for amd64 and "fixed" the invocation later by QA (as seen on the ChangeLog) so it looks like : if use amd64 && is-ldflags -pie; then einfo Stripping "-pie" from LDFLAGS, adding it to Makefile manually filter-ldflags -pie append-flags -fPIC LDFLAGS_PIE="1" fi 2.5.9-r1 (which is the current ~arch) package dropped the test altogether and so is not affected.
Created attachment 75569 [details, diff] add inherit of ccc eclass so that is-ldflags gets defined correctly
no, that crap shouldnt even exist anymore cleaned up 2.5.9 ebuild