mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-13 14:02:26 +00:00
qualify-clang.sh: recreate a C++ file without modules
This commit is contained in:
parent
1a6ec19234
commit
1d4a399ab7
4
debian/qualify-clang.sh
vendored
4
debian/qualify-clang.sh
vendored
@ -1075,6 +1075,10 @@ if test ! -f /usr/lib/llvm-$VERSION/include/cxxabi.h; then
|
||||
exit -1;
|
||||
fi
|
||||
|
||||
# Recreate a C++ without modules
|
||||
echo '#include <chrono>
|
||||
int main() { }' > foo.cpp
|
||||
|
||||
# Force the usage of libc++abi
|
||||
clang++-$VERSION -stdlib=libc++ -lc++abi foo.cpp -o o
|
||||
./o > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user