summaryrefslogtreecommitdiffstats
path: root/libcxx/lib
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-03-14 14:52:26 +0000
committerLouis Dionne <ldionne@apple.com>2019-03-14 14:52:26 +0000
commit850a3d3b923deadaa76185ae78f5925e7d3f80d6 (patch)
tree9fe5f7bdd430d0a6a03d3380fba61f61ecaadaf1 /libcxx/lib
parentbfce36299cd2934c2c101214200ad3d1ac9addf7 (diff)
downloadbcm5719-llvm-850a3d3b923deadaa76185ae78f5925e7d3f80d6.tar.gz
bcm5719-llvm-850a3d3b923deadaa76185ae78f5925e7d3f80d6.zip
[libc++][CMake] Fix typo introduced in r356150
That typo broke the build when the shared library build was disabled. llvm-svn: 356155
Diffstat (limited to 'libcxx/lib')
-rw-r--r--libcxx/lib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt
index 89485d73440..91924f4a2f5 100644
--- a/libcxx/lib/CMakeLists.txt
+++ b/libcxx/lib/CMakeLists.txt
@@ -234,7 +234,7 @@ if (LIBCXX_ENABLE_STATIC)
LINK_FLAGS "${LIBCXX_LINK_FLAGS}"
OUTPUT_NAME "c++"
)
- cxx_set_common_defines(cxx_shared)
+ cxx_set_common_defines(cxx_static)
if (LIBCXX_HERMETIC_STATIC_LIBRARY)
append_flags_if_supported(CXX_STATIC_LIBRARY_FLAGS -fvisibility=hidden)
OpenPOWER on IntegriCloud