From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2C13D138334 for ; Sat, 7 Sep 2019 08:47:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64C89E0AAF; Sat, 7 Sep 2019 08:47:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C5E8E0AAF for ; Sat, 7 Sep 2019 08:47:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A87C34AB3C for ; Sat, 7 Sep 2019 08:47:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2A444D3 for ; Sat, 7 Sep 2019 08:47:20 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1567845976.e8e4dd8786f39b2d2c682f385ea2c70b2b44022f.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: / X-VCS-Repository: proj/gcc-config X-VCS-Files: README gcc-config X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: e8e4dd8786f39b2d2c682f385ea2c70b2b44022f X-VCS-Branch: master Date: Sat, 7 Sep 2019 08:47:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 25d305a8-3285-4dd1-9b92-856554c76cd8 X-Archives-Hash: 46655e5dd3e034e4566b8831b24fb7cc commit: e8e4dd8786f39b2d2c682f385ea2c70b2b44022f Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Sep 7 08:46:16 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Sep 7 08:46:16 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=e8e4dd87 gcc-config: don't recreate unused '.NATIVE' symlink. As gcc-wrapper is gone nothing should use it anymore. Signed-off-by: Sergei Trofimovich gentoo.org> README | 6 ------ gcc-config | 7 ++++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README b/README index c3bf427..48183b2 100644 --- a/README +++ b/README @@ -56,12 +56,6 @@ Files, variables, things. Before Aug 2018 used to contain paths for cross-compilers. To be removed eventually. - /etc/env.d/gcc/.NATIVE -> x86_64-pc-linux-gnu-8.1.0 (link to target config) - - Link to current native toolchain. - - Before Aug 2018 was used by gcc binary wrapper. Not used nowadays. - TODOs ----- diff --git a/gcc-config b/gcc-config index aefdbc4..92e9014 100755 --- a/gcc-config +++ b/gcc-config @@ -656,14 +656,15 @@ switch_profile() { fi # Punt old files; maybe globs too much, but oh well + # 'NATIVE' and '.NATIVE' were used by gcc-wrapper before Aug 2018 + # and are not used as wrapper is removed. + # '.NATIVE' was created before Sept 2019. + # We clean up both for now. Should be safe to remove in 2021. rm -f \ "${GCC_ENV_D}/NATIVE" "${GCC_ENV_D}/.NATIVE" \ "${ENV_D}/05gcc" "${ENV_D}/05gcc-${CTARGET}" \ "${ENV_D}/05gcc-${CTARGET}"-* "${GCC_ENV_D}/config-${CTARGET}"-* - # Help out the gcc wrapper - ln -sf ${CC_COMP} "${GCC_ENV_D}/.NATIVE" - # Relocate random crap local x libdir pkgconfdir local mver=${CC_COMP_VERSION:0:3}