[LLVMdev] compiler-rt CMake build ignores CMAKE_CXX_FLAGS (original) (raw)

Dmitri Gribenko gribozavr at gmail.com
Mon Mar 24 03:09:29 PDT 2014


On Mon, Mar 24, 2014 at 9:49 AM, Alexey Samsonov <samsonov at google.com> wrote:

Submitted r204593.

Thank you! It did fix compiling the tests on the buildbot, but I am surprised that linking succeeded. Maybe that is because we are not using any C++11 features that require symbols from the newer libstdc++. But it would be future-proof to change clang_link_shared() to use CMAKE_CXX_FLAGS as well.

Dmitri

-- main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if (j){printf("%d\n",i);}}} /Dmitri Gribenko <gribozavr at gmail.com>/



More information about the llvm-dev mailing list