From eb7b8a7bbe6125c4b92270b011c23f1d00118781 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 6 Sep 2021 17:41:00 -0400 Subject: [PATCH] Meta: Don't pass LLVM_LLVM_BUILD_LLVM_DYLIB to cmake `LLVM_LLVM_BUILD_LLVM_DYLIB` does not exist, so passing this does nothing but make CMake warn. However, since we pass `LLVM_LINK_LLVM_DYLIB`, `LLVM_BUILD_LLVM_DYLIB` (the correct spelling) defaults to true anyways. So let's pass fewer flags. No behavior change, but fixes a CMake warning. --- Toolchain/BuildClang.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/Toolchain/BuildClang.sh b/Toolchain/BuildClang.sh index 37d17a6ea48..07013da877a 100755 --- a/Toolchain/BuildClang.sh +++ b/Toolchain/BuildClang.sh @@ -259,7 +259,6 @@ pushd "$DIR/Build/clang/$ARCH" -DLLVM_ENABLE_PROJECTS="clang;lld" \ -DLLVM_INCLUDE_BENCHMARKS=OFF \ -DLLVM_INCLUDE_TESTS=OFF \ - -DLLVM_LLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_INSTALL_UTILS=OFF \ ${dev:+"-DLLVM_CCACHE_BUILD=ON"} || exit 1