https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116237
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:4cec7bc79db52bae159c3c60a415e2aea48051d8 commit r15-2803-g4cec7bc79db52bae159c3c60a415e2aea48051d8 Author: Iain Sandoe <i...@sandoe.co.uk> Date: Mon Aug 5 13:19:28 2024 +0100 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 <i...@sandoe.co.uk>