Open Ro0tk1t opened 5 years ago
What clang version are you using?
clang-6.0/stable,now 1:6.0.1-10 amd64
@Ro0tk1t I faced the same problem when building on gentoo. You may need to explicitely specify the clang and clang++ binary.
CC="path to clang" CXX="path to clang++" cmake ..
in my case that translates to:
CC="/usr/lib/llvm/9/bin/clang" CXX="/usr/lib/llvm/9/bin/clang++" cmake ..
my system is parrotsec 4.6 there is error log
[ 3%] Built target bsdln [ 3%] Building CXX object src/external/cctools-port/cctools/ld64/src/CMakeFiles/x86_64-apple-darwin11-ld.dir/ld/InputFiles.o c++: error: unrecognized command line option ‘-fblocks’ make[2]: [src/external/cctools-port/cctools/ld64/src/CMakeFiles/x86_64-apple-darwin11-ld.dir/build.make:63: src/external/cctools-port/cctools/ld64/src/CMakeFiles/x86_64-apple-darwin11-ld.dir/ld/InputFiles.o] Error 1 make[1]: [CMakeFiles/Makefile2:3459: src/external/cctools-port/cctools/ld64/src/CMakeFiles/x86_64-apple-darwin11-ld.dir/all] Error 2 make: *** [Makefile:130: all] Error 2