summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorKatalin Rebhan <me@dblsaiko.net>2025-02-25 18:52:51 +0100
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-08-02 21:45:01 +0300
commit070579542f19196abd06beb9e67a9a9012469225 (patch)
tree3305216cab03a446a8d4aa507b5d23e90e9e20e8 /docs/markdown/snippets
parenteefad4a723ce63a0ac02edec7c41d69fa10b14bb (diff)
downloadmeson-070579542f19196abd06beb9e67a9a9012469225.tar.gz
swift: Pass C++ base compile options to swiftc
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/swift-pass-c-compiler-options.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/markdown/snippets/swift-pass-c-compiler-options.md b/docs/markdown/snippets/swift-pass-c-compiler-options.md
index 3610a8ea1..90904b9af 100644
--- a/docs/markdown/snippets/swift-pass-c-compiler-options.md
+++ b/docs/markdown/snippets/swift-pass-c-compiler-options.md
@@ -1,8 +1,9 @@
## Swift compiler receives select C family compiler options
-Meson now passes select few C family (C/Obj-C) compiler options to the
-Swift compiler, notably *-std=*, in order to improve the compatibility
-of C code as interpreted by the C compiler and the Swift compiler.
+Meson now passes select few C family (C/C++/Obj-C/Obj-C++) compiler
+options to the Swift compiler, notably *-std=*, in order to improve
+the compatibility of C code as interpreted by the C compiler and the
+Swift compiler.
NB: This does not include any of the options set in the target's
c_flags.