[PATCH] D22469: [compiler-rt] Don't require c++ headers when configuring compiler-rt builds

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 11:21:35 PDT 2016


compnerd added inline comments.

================
Comment at: cmake/config-ix.cmake:96
@@ -97,1 +95,3 @@
+set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.c)
+file(WRITE ${SIMPLE_SOURCE} "#include <stdlib.h>\n#include <limits.h>\nint main() {}\n")
 
----------------
Please include a symbol that requires linkage.  How about `printf`?


https://reviews.llvm.org/D22469





More information about the llvm-commits mailing list