summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-04-27 01:25:32 +0000
committerPetr Hosek <phosek@chromium.org>2018-04-27 01:25:32 +0000
commit5d3df3cf4445532f7db39773c39556f733208122 (patch)
treed98b6038ada6bd5729abd4e29d8addcdf9f2efa8
parente06539456ca3daee8e6741d0901e72a29d8e28b8 (diff)
downloadbcm5719-llvm-5d3df3cf4445532f7db39773c39556f733208122.tar.gz
bcm5719-llvm-5d3df3cf4445532f7db39773c39556f733208122.zip
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
-rw-r--r--compiler-rt/cmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index e58dc6f762c..82c3d2859fd 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -125,7 +125,7 @@ set(COMPILER_RT_SUPPORTED_ARCH)
# platform. We use the results of these tests to build only the various target
# runtime libraries supported by our current compilers cross-compiling
# 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")
# Detect whether the current target platform is 32-bit or 64-bit, and setup
OpenPOWER on IntegriCloud