Skip to content

Commit b820ab2

Browse files
committed
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331009 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 1b9070e commit b820ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/config-ix.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ set(COMPILER_RT_SUPPORTED_ARCH)
125125
# platform. We use the results of these tests to build only the various target
126126
# runtime libraries supported by our current compilers cross-compiling
127127
# abilities.
128-
set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.c)
128+
set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.cc)
129129
file(WRITE ${SIMPLE_SOURCE} "#include <stdlib.h>\n#include <stdio.h>\nint main() { printf(\"hello, world\"); }\n")
130130

131131
# Detect whether the current target platform is 32-bit or 64-bit, and setup

0 commit comments

Comments
 (0)