libreoffice/loffice-libcxx-wrapper.sh
Mikhail Novosyolov 7d34a85093 Try to force -lc++ lc++abi which are lost when in $LIBS or $LDFLAGS, be verbose
```
/builddir/build/BUILD/libreoffice-6.3.5/workdir/CxxObject/l10ntools/source/idxdict/idxdict.o: In function `main':
/builddir/build/BUILD/libreoffice-6.3.5/l10ntools/source/idxdict/idxdict.cxx:30: undefined reference to `std::__1::ios_base::sync_with_stdio(bool)'
/builddir/build/BUILD/libreoffice-6.3.5/workdir/CxxObject/l10ntools/source/idxdict/idxdict.o: In function `std::__1::basic_istream<char, std::__1::char_traits<char> >::getline(char*, long)':
/usr/include/c++/v1/istream:275: undefined reference to `std::__1::cin'
/builddir/build/BUILD/libreoffice-6.3.5/workdir/CxxObject/l10ntools/source/idxdict/idxdict.o: In function `std::__1::basic_ios<char, std::__1::char_traits<char> >::widen(char) const':
/usr/include/c++/v1/ios:759: undefined reference to `std::__1::ios_base::getloc() const'
/builddir/build/BUILD/libreoffice-6.3.5/workdir/CxxObject/l10ntools/source/idxdict/idxdict.o: In function `std::__1::ctype<char> const& std::__1::use_facet<std::__1::ctype<char> >(std::__1::locale const&)':
/usr/include/c++/v1/__locale:234: undefined reference to `std::__1::ctype<char>::id'
<...>
```

https://t.me/libreofficeru/25659
2020-04-01 18:02:10 +03:00

3 lines
47 B
Bash

#!/bin/sh
/usr/bin/clang++ "$@" $LIBCCX_LIBS