sys-libs/csu: revbump to respect CFLAGS
authorFabian Groffen <grobian@gentoo.org>
Thu, 26 Dec 2019 09:19:31 +0000 (10:19 +0100)
committerFabian Groffen <grobian@gentoo.org>
Thu, 26 Dec 2019 09:19:44 +0000 (10:19 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
sys-libs/csu/csu-85-r1.ebuild [moved from sys-libs/csu/csu-85.ebuild with 95% similarity]

similarity index 95%
rename from sys-libs/csu/csu-85.ebuild
rename to sys-libs/csu/csu-85-r1.ebuild
index 6d0fb053db7f554010be65ca250420bc09e4e5ab..28ea492c1a5d0b5de02f8ce23a0a77075cf9ccdf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -29,6 +29,7 @@ src_prepare() {
                -e 's:$(SYMROOT)/crt0.o::' \
                -e '/LOCLIBDIR)\/crt0.o/d' \
                -e '/^CC = /d' \
+               -e "/ARCH_CFLAGS =/s|=|= ${CFLAGS}|" \
                Makefile || die
 
        # only require Availability.h for arm, bugs #538602, #539964