]> git.ipfire.org Git - thirdparty/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:27:00 +0000 (03:27 +0000)
commit87152f50a89deb5044145a80fa2ed705f4913f98
treee79670c232b3c57d3f6605eee74ea068b1867e70
parent881562e3c25c41d6649c621117da75f052430ff9
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