summaryrefslogtreecommitdiffstats
path: root/libcxx/lib
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2014-11-25 21:57:41 +0000
committerEric Fiselier <eric@efcs.ca>2014-11-25 21:57:41 +0000
commit53deb607d9b3e47035d71f336b64f02253c46286 (patch)
treeef3818aa3194131494cb205fd1861bf101459e38 /libcxx/lib
parent6f6c4ff1fc42aced441c752b49bb39529ddfad06 (diff)
downloadbcm5719-llvm-53deb607d9b3e47035d71f336b64f02253c46286.tar.gz
bcm5719-llvm-53deb607d9b3e47035d71f336b64f02253c46286.zip
Fixes to get libc++ building on sun solaris. Patch from C Bergstrom.
llvm-svn: 222794
Diffstat (limited to 'libcxx/lib')
-rw-r--r--libcxx/lib/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt
index 318c4ce6c4c..12e9f4ad643 100644
--- a/libcxx/lib/CMakeLists.txt
+++ b/libcxx/lib/CMakeLists.txt
@@ -3,6 +3,9 @@ file(GLOB LIBCXX_SOURCES ../src/*.cpp)
if(WIN32)
file(GLOB LIBCXX_WIN32_SOURCES ../src/support/win32/*.cpp)
list(APPEND LIBCXX_SOURCES ${LIBCXX_WIN32_SOURCES})
+elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
+ file(GLOB LIBCXX_SOLARIS_SOURCES ../src/support/solaris/*.c)
+ list(APPEND LIBCXX_SOURCES ${LIBCXX_SOLARIS_SOURCES})
endif()
# Add all the headers to the project for IDEs.
OpenPOWER on IntegriCloud