diff --git a/Makefile b/Makefile index 4a96f96..03f44cb 100644 --- a/Makefile +++ b/Makefile @@ -59,10 +59,10 @@ 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 + sudo update-alternatives --install /usr/bin/clang clang `which clang-10` 20 || true + sudo update-alternatives --install /usr/bin/clang++ clang++ `which clang++-10` 20 || true + sudo update-alternatives --set clang `which clang-10` || true + sudo update-alternatives --set clang++ `which clang++-10` || true clang++ -v || true $(MACOSX_CXX) $< -o $@ -v || true $(MACOSX_CXX) $< -o $@ -v -O0 || true