I’m using the latest LLVM (r168491) built by GCC 4.7.2 (Gentoo masked version). The clang++ runs as expected when I compile a hello program with c++11 enabled.
I created a project (copied from sample/) where there are some C++ source files with c++11 features. I configured my project using the following command:
$ CXXFLAGS="-std=c++11" …/configure --enable-cxx11
However, I found that the clang++ did not build my project with the “-std=c++” option.
Could anyone kindly show me how to enable C++11 in a LLVM project, please?
 I get the detailed options building my project using ‘make VERBOSE=1’