[PATCH] D16688: [test-suite] A number of cmake configuration fixes for External/SPEC.

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 19:37:23 PST 2016


MatzeB added inline comments.

================
Comment at: External/SPEC/CINT2000/252.eon/CMakeLists.txt:5-6
@@ -4,4 +4,4 @@
 endif()
-list(APPEND CXXFLAGS -fno-exceptions -Wno-deprecated -fpermissive -stdlib=libstdc++)
-list(APPEND LDFLAGS -stdlib=libstdc++ -lm)
 list(APPEND LIBS -lm)
----------------
Without the -stdlib=libstdc++ the benchmark does not compile for me because it cannot find <iostream.h>. I'm surprised that worked with clang/OS X for you, maybe it is because you have an older version than me. I guess we need something like a global LIBSTDCXX_AVAILABLE variable that defaults to true if APPLE is set?


http://reviews.llvm.org/D16688





More information about the llvm-commits mailing list