From 070579542f19196abd06beb9e67a9a9012469225 Mon Sep 17 00:00:00 2001 From: Katalin Rebhan Date: Tue, 25 Feb 2025 18:52:51 +0100 Subject: swift: Pass C++ base compile options to swiftc --- docs/markdown/snippets/swift-pass-c-compiler-options.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs') 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. -- cgit v1.2.3