Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: fix linking on macOS with Homebrew
On macOS with current version of Homebrew clang and ld.lld comes from separate packages, the assumptions for the linker path does not hold anymore and the linking fails. Fix by using distinct variables in Makefile for clang and ld.lld: - TOOLCHAIN: remove the check for `uname -p` and use `brew --prefix` output instead of hardcoded path - add a LLDDIR variable to allow for specific ld.ldd location - LLDDIR: use TOOLCHAIN value if ld.lld is found there, use the output of `brew --prefix lld` otherwise - LD: use LLDIR instead of TOOLCHAIN Fixes: #431 # Veuillez saisir le message de validation pour vos
- Loading branch information