Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] flag-o-matic.eclass: Strip LDFLAGS unsupported by the C compiler, #621274
Date: Tue, 08 Aug 2017 19:43:07
Message-Id: 1502221370.16996.2.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH] flag-o-matic.eclass: Strip LDFLAGS unsupported by the C compiler, #621274 by "Michał Górny"
1 On sob, 2017-07-01 at 18:22 +0200, Michał Górny wrote:
2 > Include LDFLAGS in the variables stripped by strip-unsupported-flags.
3 > The code reuses the current functions for testing CC, and so only remove
4 > LDFLAGS that are rejected by the C compiler and not the linker. This
5 > solves the case of bug #621274 where LDFLAGS contained GCC-specific
6 > -flto flag.
7 > ---
8 > eclass/flag-o-matic.eclass | 3 +++
9 > eclass/tests/flag-o-matic.sh | 2 +-
10 > 2 files changed, 4 insertions(+), 1 deletion(-)
11 >
12
13 Merged.
14
15 --
16 Best regards,
17 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature