Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config
Date: Sat, 23 May 2020 06:05:57
Message-Id: 8977c3dfb3524d37081dbe01b5475da6f3a529c3.camel@gentoo.org
In Reply to: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config by Sergei Trofimovich
1 On Fri, 2020-05-22 at 22:36 +0100, Sergei Trofimovich wrote:
2 > 'tc-directly' tracker https://bugs.gentoo.org/243502 tracks
3 > packages that don't respect users' CC/AR/LD flags.
4 >
5 > I added new USE=-native-symlinks mode for gcc-config and
6 > binutils-config to ease detection of such packages.
7 >
8 > Native symlinks are still installed by default. Nothing should
9 > break for users who use default USE flags.
10 >
11 > USE=-native-symlinks removes a bunch of links that most packages
12 > use by default until are overridden explicitly. Incomplete list is:
13 > - /lib/cpp
14 > - /usr/bin/{gcc,cc,g++,c++,...}
15 > - /usr/bin/{as,ld,ranlib,dwp,...}
16 >
17 > The rule of thumb is: if a tool does not have ${CTARGET}- prefix
18 > it will probably disappear with USE=-native-symlinks.
19
20 Does this list include 'ar' or not? Asking because there's been
21 a number of false positives reported for 'ar' being used as an archiver
22 (e.g. to work on .deb packages).
23
24 --
25 Best regards,
26 Michał Górny

Attachments

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

Replies