aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-09-08 18:19:54 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-09-08 18:19:54 +0200
commitde03b7e6d68d71d575c43eadbfb1d72cb7dfe54a (patch)
tree19213cf2048d2aaa649dffb191cb0c6ff3b70c4b /%HOME%
parentssh: update my tensin-web port (diff)
downloadlinux-home-de03b7e6d68d71d575c43eadbfb1d72cb7dfe54a.tar.gz
linux-home-de03b7e6d68d71d575c43eadbfb1d72cb7dfe54a.zip
alternatives.sh: prefer gcc to clang
This doesn't make much sense, but I'm currently working on a GCC-only project, and this is messing my workflow up.
Diffstat (limited to '')
-rw-r--r--%HOME%/.bash_utils/alternatives.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/%HOME%/.bash_utils/alternatives.sh b/%HOME%/.bash_utils/alternatives.sh
index 3cfb958..1d10692 100644
--- a/%HOME%/.bash_utils/alternatives.sh
+++ b/%HOME%/.bash_utils/alternatives.sh
@@ -19,8 +19,8 @@ setup_alternatives_cc() (
mkdir -p -- ~/.local/bin
update-my-alternatives --remove-all cc || true
- update-my-alternatives --install ~/.local/bin/cc cc "$clang_cc" 512 --slave ~/.local/bin/c++ c++ "$clang_cxx"
- update-my-alternatives --install ~/.local/bin/cc cc "$gcc_cc" 256 --slave ~/.local/bin/c++ c++ "$gcc_cxx"
+ update-my-alternatives --install ~/.local/bin/cc cc "$clang_cc" 256 --slave ~/.local/bin/c++ c++ "$clang_cxx"
+ update-my-alternatives --install ~/.local/bin/cc cc "$gcc_cc" 512 --slave ~/.local/bin/c++ c++ "$gcc_cxx"
)
setup_alternatives() (