Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/gen_stage3: explicitly disable LLVM_ENABLE_LTO to fix build error
``` Scanning dependencies of target LLVM [ 64%] Building CXX object tools/llvm-shlib/CMakeFiles/LLVM.dir/libllvm.cpp.o [ 64%] Linking CXX shared library ../../lib/libLLVM-14.so /usr/bin/ld: ../../lib/libLLVMMC.a: member ../../lib/libLLVMMC.a(MCSectionXCOFF.cpp.o) in archive is not an object collect2: error: ld returned 1 exit status make[2]: *** [tools/llvm-shlib/CMakeFiles/LLVM.dir/build.make:294: lib/libLLVM-14.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:45218: tools/llvm-shlib/CMakeFiles/LLVM.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ```
- Loading branch information