Skip to content
Snippets Groups Projects
Commit 3334de35 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: ensure cc and c++ point to gcc and g++

parent 1002e0d4
No related branches found
No related tags found
1 merge request!780fix: ensure cc and c++ point to gcc and g++
......@@ -104,6 +104,9 @@ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++${GCC} 100
update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran${GCC} 100
update-alternatives --install /usr/bin/clang clang /usr/bin/clang${CLANG} 100
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++${CLANG} 100
# Default to gcc
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 100
update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 100
# Check versions
gcc --version
clang --version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment