From f849f478592adef4b7c94511a43cfd87ac2dec8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 18 Oct 2017 23:48:15 +0300 Subject: [PATCH] Define LIBCXX_USE_COMPILER_RT while building libcxx This makes a lot more libcxx cmake configure tests work as intended, which makes a lot more -W* options added, resulting in much more build warnings. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 0d0ece7..07c303c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -221,6 +221,7 @@ RUN cd libcxx && \ -DCMAKE_CXX_COMPILER_WORKS=TRUE \ -DCMAKE_AR=$TOOLCHAIN_PREFIX/bin/$AR \ -DCMAKE_RANLIB=$TOOLCHAIN_PREFIX/bin/$RANLIB \ + -DLIBCXX_USE_COMPILER_RT=ON \ -DLIBCXX_INSTALL_HEADERS=ON \ -DLIBCXX_ENABLE_EXCEPTIONS=$EXCEPTIONS \ -DLIBCXX_ENABLE_THREADS=OFF \