commit:     b7f6b2f4e3b2caf48d538d1ed5859e6c16228a25
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 09:19:31 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 09:19:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f6b2f4

sys-libs/csu: revbump to respect CFLAGS

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-libs/csu/{csu-85.ebuild => csu-85-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-libs/csu/csu-85.ebuild b/sys-libs/csu/csu-85-r1.ebuild
similarity index 95%
rename from sys-libs/csu/csu-85.ebuild
rename to sys-libs/csu/csu-85-r1.ebuild
index 6d0fb053db7..28ea492c1a5 100644
--- a/sys-libs/csu/csu-85.ebuild
+++ b/sys-libs/csu/csu-85-r1.ebuild
@@ -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

Reply via email to