commit: 75ba22b15061af1bbda7a9be9fdb5f8961a5a589 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Mon Dec 13 14:05:56 2021 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Mon Dec 13 14:06:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ba22b1
sys-libs/csu-85-r1: fix compilation for newer setups Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> sys-libs/csu/csu-85-r1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys-libs/csu/csu-85-r1.ebuild b/sys-libs/csu/csu-85-r1.ebuild index 24e82d76af36..4b11e2f86b8d 100644 --- a/sys-libs/csu/csu-85-r1.ebuild +++ b/sys-libs/csu/csu-85-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit flag-o-matic + DESCRIPTION="Darwin Csu (crt1.o) - Mac OS X 10.10 version" HOMEPAGE="http://www.opensource.apple.com/" SRC_URI="http://www.opensource.apple.com/tarballs/Csu/Csu-${PV}.tar.gz" @@ -21,6 +23,10 @@ DEPEND="|| ( )" src_prepare() { + # apart from gcc-4.2.1 possibly not understanding, this better not + # be aggressively optimised + filter-flags -march=* -mtune=* + # since we don't have crt0, we can't build it either sed -i \ -e 's:$(SYMROOT)/crt0.o::' \
