summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-12-13 15:05:56 +0100
committerFabian Groffen <grobian@gentoo.org>2021-12-13 15:06:09 +0100
commit75ba22b15061af1bbda7a9be9fdb5f8961a5a589 (patch)
tree26cc302494d4470d6878691afd1681aea987e923 /sys-libs/csu
parentnet-misc/curl: remove deprecated configure options (diff)
downloadgentoo-75ba22b15061af1bbda7a9be9fdb5f8961a5a589.tar.gz
gentoo-75ba22b15061af1bbda7a9be9fdb5f8961a5a589.tar.bz2
gentoo-75ba22b15061af1bbda7a9be9fdb5f8961a5a589.zip
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@gentoo.org>
Diffstat (limited to 'sys-libs/csu')
-rw-r--r--sys-libs/csu/csu-85-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
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::' \