summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-06-12 18:23:46 +0200
committerFabian Groffen <grobian@gentoo.org>2018-06-12 18:23:55 +0200
commitfdffef785dfdf66abe64c3d6c5986fc41e6869db (patch)
treef1dce52d7bef6fd1d13a6c03e2290e775d35c101 /sys-devel
parentnet-im/telegram-desktop-bin: drop old 1.2.15 (diff)
downloadgentoo-fdffef785dfdf66abe64c3d6c5986fc41e6869db.tar.gz
gentoo-fdffef785dfdf66abe64c3d6c5986fc41e6869db.tar.bz2
gentoo-fdffef785dfdf66abe64c3d6c5986fc41e6869db.zip
sys-devel/gcc-apple: don't switch to this compiler, it's old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild
index fca27fefaa4..1b20668b569 100644
--- a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild
+++ b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild
@@ -352,8 +352,8 @@ src_install() {
}
pkg_postinst() {
- # beware this also switches when it's on another branch version of GCC
- gcc-config ${CTARGET}-${GCC_VERS}
+ # only activate this compiler if nothing else is activated
+ gcc-config -c >& /dev/null || gcc-config ${CTARGET}-${GCC_VERS}
}
pkg_postrm() {