Gentoo Archives: gentoo-dev

From: "Diego Elio Pettenò" <flameeyes@×××××××××.eu>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Detecting ignored *FLAGS
Date: Mon, 23 Jul 2012 00:45:46
Message-Id: 500C9E52.5060501@flameeyes.eu
In Reply to: [gentoo-dev] Detecting ignored *FLAGS by "Rick \\\"Zero_Chaos\\\" Farina"
1 Il 22/07/2012 14:38, Rick "Zero_Chaos" Farina ha scritto:
2 > It would seem to me that we could get all these QA warning out of the
3 > way very quickly by adding -frecord-gcc-switches to the *FLAGS in the
4 > base profile (it appears to be platform agnostic but if I'm wrong we can
5 > add it for supported arches).
6
7 Ehm no that's not a good idea because it can actually cause problems.
8 Some ebuilds do s/-O2/${CFLAGS} s/gcc/$(tc-getCC)/ (in this order) and
9 then -frecord-gcc-switches will fail.
10
11 Other packages call ld directly, and then -frecord-gcc-switches in
12 LDFLAGS will fail...
13
14 --
15 Diego Elio Pettenò — Flameeyes
16 flameeyes@×××××××××.eu — http://blog.flameeyes.eu/

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Detecting ignored *FLAGS "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>