Closed ajgringo619 closed 2 years ago
Same error on Debian 11.
I changed build.sh
like this:
export CXXFLAGS+="-resource-dir=${_llvm_resource_dir} -B${LLVM_BIN}"
export CPPFLAGS+="-resource-dir=${_llvm_resource_dir} -B${LLVM_BIN}"
export CFLAGS+="-resource-dir=${_llvm_resource_dir} -B${LLVM_BIN}"
Good catch! I'm surprised this hasn't been noticed before now; simple missing quotes...
This is my first attempt at building, so bear with me.
Using Linux Mint 20.3, I've installed all of the clang-13 packages from the LLVM Ubuntu repo. The download and subsequent unpacking seems to go OK. The problem is with one of the export statements in
build.sh
. Here's the output from the export statements leading up to the error:Line 38 is this:
export CXXFLAGS+=-resource-dir=${_llvm_resource_dir} -B${LLVM_BIN}
.