dev-lang/swift: Add option to compile with libcxx

This is useful on llvm profile systems, where the default C++ compiler
is clang with libcxx.

Signed-off-by: Marco Rebhan <me@dblsaiko.net>
This commit is contained in:
Marco Rebhan
2025-02-11 00:44:18 +01:00
parent e725aa5030
commit fbbd4a1e11
3 changed files with 21 additions and 2 deletions

View File

@@ -8,6 +8,11 @@
<upstream>
<remote-id type="github">swiftlang/swift</remote-id>
</upstream>
<use>
<flag name="libcxx">
Use <pkg>llvm-runtimes/libcxx</pkg> as the default C++ runtime library.
</flag>
</use>
<slots>
<slot name="0">
The original slot for swift-5.10.1; should no longer be used.