From 480ad9d07854cec777c73656a25359e1a1894770 Mon Sep 17 00:00:00 2001 From: Christoph Scholtes Date: Sat, 25 Sep 2021 12:52:49 -0600 Subject: [PATCH] Ensure we are using our own clang version and not the system clang. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2abd6ff..e98c6c2 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,7 @@ $(toolchain-mac): # Build osxcross cp MacOSX11.1.sdk.tar.* osxcross/tarballs/ - cd osxcross && UNATTENDED=1 TARGET_DIR="$(LOCAL_DIR)/osxcross" ./build.sh + cd osxcross && PATH="$(LOCAL_DIR)/bin:$(PATH)" UNATTENDED=1 TARGET_DIR="$(LOCAL_DIR)/osxcross" ./build.sh # Build Mac version of binutils and build LLVM gold cd osxcross && BINUTILS_VERSION=$(MAC_BINUTILS_VERSION) TARGET_DIR="$(LOCAL_DIR)/osxcross" ./build_binutils.sh @@ -167,7 +167,6 @@ dep-ubuntu: libssl-dev \ texinfo \ help2man \ - clang \ libz-dev \ rsync \ xxd \