libraries/libc++: Fix build.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-06-01 00:47:26 +07:00
parent 8bf8aeb0f0
commit 70016c34fc

View file

@ -100,7 +100,8 @@ CC=clang CXX=clang++ cmake \
-DLIBCXX_INCLUDE_DOCS=ON \
../llvm-${VERSION}
make cxx docs-libcxx-html
# This break with unknown option: LLVM_BUILD_32_BITS
#make cxx docs-libcxx-html
make install-libcxx DESTDIR=${PKG}
make install-libcxxabi DESTDIR=${PKG}
@ -118,7 +119,7 @@ cp llvm-${VERSION}/projects/libcxxabi/CREDITS.TXT \
$PKG/usr/doc/${PRGNAM}-${VERSION}/libcxxabi-CREDITS.TXT
cp llvm-${VERSION}/projects/libcxx/LICENSE.TXT \
$PKG/usr/doc/${PRGNAM}-${VERSION}/libcxxabi-LICENSE.TXT
cp -a build/projects/libcxx/docs/html $PKG/usr/doc/${PRGNAM}-${VERSION}
#cp -a build/projects/libcxx/docs/html $PKG/usr/doc/${PRGNAM}-${VERSION}
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild