Revert "[CMake] Make simple source used for CMake checks a C file"
This reverts commit r331003 which breaks sanitizer bots because of missing 32-bit libstdc++ library. llvm-svn: 331009
This commit is contained in:
parent
e06539456c
commit
5d3df3cf44
|
@ -125,7 +125,7 @@ set(COMPILER_RT_SUPPORTED_ARCH)
|
||||||
# platform. We use the results of these tests to build only the various target
|
# platform. We use the results of these tests to build only the various target
|
||||||
# runtime libraries supported by our current compilers cross-compiling
|
# runtime libraries supported by our current compilers cross-compiling
|
||||||
# abilities.
|
# abilities.
|
||||||
set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.c)
|
set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.cc)
|
||||||
file(WRITE ${SIMPLE_SOURCE} "#include <stdlib.h>\n#include <stdio.h>\nint main() { printf(\"hello, world\"); }\n")
|
file(WRITE ${SIMPLE_SOURCE} "#include <stdlib.h>\n#include <stdio.h>\nint main() { printf(\"hello, world\"); }\n")
|
||||||
|
|
||||||
# Detect whether the current target platform is 32-bit or 64-bit, and setup
|
# Detect whether the current target platform is 32-bit or 64-bit, and setup
|
||||||
|
|
Loading…
Reference in New Issue