在我执行之后cmake CMakeLists.txt
,似乎没有错误,我运行 make 它给了我以下错误:
:/usr/local/src/llvm-3.1.src/tools/ccons$ sudo make
[ 7%] Building CXX object CMakeFiles/ccons.dir/ccons.cpp.o
/usr/local/src/llvm-3.1.src/tools/ccons/ccons.cpp:1:0: error: bad value (x86_64) for -march= swi
tch
make[2]: *** [CMakeFiles/ccons.dir/ccons.cpp.o] Error 1
make[1]: *** [CMakeFiles/ccons.dir/all] Error 2
make: *** [all] Error 2
有没有办法弄清楚如何解决这个问题?