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.
This commit is contained in:
1 parent
a53599c175
commit
f849f47859
1 file changed
+1
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user