diff --git a/Makefile b/Makefile index 3a16e29..4a96f96 100644 --- a/Makefile +++ b/Makefile @@ -58,10 +58,12 @@ ls -la /usr/lib/llvm-13/lib || true ls -la /usr/lib/llvm-14/lib || true ls -la /usr/lib/llvm-10/lib || true + which -a clang++-10 || true + update-alternatives --install /usr/bin/clang clang `which clang-10` 20 || true + update-alternatives --install /usr/bin/clang++ clang++ `which clang++-10` 20 || true + update-alternatives --set clang `which clang-10` || true + update-alternatives --set clang++ `which clang++-10` || true clang++ -v || true - clang-10++ -v || true - clang++-10 -v || true - clang-10 -v || true $(MACOSX_CXX) $< -o $@ -v || true $(MACOSX_CXX) $< -o $@ -v -O0 || true $(MACOSX_CXX) $< -o $@ -v -fno-lto -L/usr/lib/llvm-13/lib