]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin: Recognise -weak_framework in the driver [PR116237].
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 5 Aug 2024 12:19:28 +0000 (13:19 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 7 Aug 2024 19:28:59 +0000 (20:28 +0100)
commit4cec7bc79db52bae159c3c60a415e2aea48051d8
tree5864d831e5dd780397dc406146f4264302c02103
parentd1fc9816df81e953308428641685d6ec6d84c9ac
Darwin: Recognise -weak_framework in the driver [PR116237].

XCode compilers recognise the weak_framework linker option in the driver
and forward it.  This patch makes GCC adopt the same behaviour.

PR target/116237

gcc/ChangeLog:

* config/darwin.h (SUBTARGET_DRIVER_SELF_SPECS): Add a spec for
weak_framework.
* config/darwin.opt: Handle weak_framework driver option.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/config/darwin.h
gcc/config/darwin.opt