]> gcc.gnu.org Git - gcc.git/commit
Darwin, Objective-C: Support -fconstant-cfstrings [PR108743].
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 2 Jul 2023 13:18:04 +0000 (14:18 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 17 Mar 2024 03:18:52 +0000 (03:18 +0000)
commit215d67485ce8d4f6cef4e9cf7ecfd4d79abc1c48
treecbc5fef520797d2b5c940de02d93c2490b653af8
parentf84bca11b1d4a504da699d02349d949c11d59bd7
Darwin, Objective-C: Support -fconstant-cfstrings [PR108743].

This support the -fconstant-cfstrings option as used by clang (and
expect by some build scripts) as an alias to the target-specific
-mconstant-cfstrings.

The documentation is also updated to reflect that the 'f' option is
only available on Darwin, and to add the 'm' option to the Darwin
section of the invocation text.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
PR target/108743

gcc/ChangeLog:

* config/darwin.opt: Add fconstant-cfstrings alias to
mconstant-cfstrings.
* doc/invoke.texi: Amend invocation descriptions to reflect
that the fconstant-cfstrings is a target-option alias and to
add the missing mconstant-cfstrings option description to the
Darwin section.

(cherry picked from commit cdd4b3c0f0f428678c24de74b1f626628450799c)
gcc/config/darwin.opt
gcc/doc/invoke.texi
This page took 0.06389 seconds and 6 git commands to generate.